-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vercel): ESM support and Node.js 16 (#4904)
* Added runtime option * Added support for ESM * Renamed runtime to nodeVersion * Added warning * Changeset * Added note to readme * Readme with spaces instead of tabs * Detect node version automatically * put check inside get_node_version * use esm everywhere, base target on env for v1 output as well as v3 Co-authored-by: Rich Harris <hello@rich-harris.dev>
- Loading branch information
1 parent
1f6eb44
commit 7609ad0
Showing
3 changed files
with
35 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sveltejs/adapter-vercel': patch | ||
--- | ||
|
||
Support for Node.js 16 |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sveltejs/adapter-vercel': patch | ||
--- | ||
|
||
The output of serverless now is ESM instead of CJS |
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