-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace regex replacemend logic in
iifefyFunctionFile
and handle `_…
…ENTRIES` declarations in `iifefyFunctionFile` replace the regex replacement code that was present to prepare the file contents to be embedded in the iife with more proper AST code modding as part of this change make also sure that `_ENTRIES` identifiers are not modified if they were actually declared inside the function file (as it happens in older Vercel CLI releases)
- Loading branch information
1 parent
2115b9e
commit 1f679c4
Showing
2 changed files
with
84 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters