-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…3445) * feat: write reproduction test for #3394 * Update serving-functions.test.js * feat: fix by using import() for lambda funcs * chore: use esm: true for another test * feat: switch import/require based on Node version * chore: don't cache dynamic imports * fix: different approach trying to use "import" was surprisingly hard. I learned from @eduardoboucas that we use esbuild (via ZISI) to transpile ESM to CJS. This commit improves detection for that, and makes sure that any upper-level "package.json: type=module" directive is overriden. * fix: optional chaining syntax unsupported * chore: use existing fs abstraction * chore: add explanatory comment * chore: rename variable Co-authored-by: Netlify Team Account 1 <netlify-team-account-1@users.noreply.github.com>
- Loading branch information
1 parent
7f85116
commit a32da85
Showing
6 changed files
with
73 additions
and
19 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
'http-proxy-middleware', | ||
'p-map', | ||
'node-version-alias', | ||
'read-pkg-up', | ||
], | ||
major: { | ||
enabled: false, | ||
|
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
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
a32da85
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📊 Benchmark results
Package size: 357 MB