kit
kit copied to clipboard
feat: add option to configure rollup externals
Add external as an option to the node-adapter. This allows the rollup externals to be configured if you have a use case where the default is not desirable.
🦋 Changeset detected
Latest commit: 18a76de7d33daed8c7e0184b3d412639b259639a
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @sveltejs/adapter-node | Minor |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
What is a case where the default is undesireable? Can you give some examples / use cases?
This was for packaging for AWS lambda. It was easier in that case to bundle all the dependencies.
I also wanted to use the build process to tree shake the dependencies to get the package size down.
Ok seems like this won't be merged