feat!: split edge-functions package
#485
Merged
+213
−139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaks up the
@netlify/edge-functionsmodule into two:@netlify/edge-functions: production runtime logic, published from thepackages/edge-functions/proddirectory@netlify/edge-functions-dev: local development emulation logic, published from thepackages/edge-functions/devdirectoryPart of https://linear.app/netlify/issue/FRB-2012/separate-types-and-public-methods-from-internal-dependencies.
Performance
🚀 The
@netlify/edge-functionspackage now has a 4000x(!) smaller install size:BREAKING CHANGE
The
/devexport has been removedThe local development functionality has been extracted into a new
@netlify/edge-functions-devpackage. If your application relies on that logic, you shouldnpm install @netlify/edge-functions-devand update your import:The
/versionexport has been removedIf you want to retrieve the URL of the latest bootstrap, use the
@netlify/edge-functions-bootstrappackage