Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Node 14, handle polyfill breaking change, update immutable directory #47

Merged
merged 4 commits into from
Jun 10, 2022

Conversation

geoffrich
Copy link
Owner

Fixes #44
Fixes #45
Fixes #12

This PR handles several recent SvelteKit breaking changes.

  • Target Node 16 using the apiRuntime SWA setting. With this change, you now need to have a package.json inside your api/ directory. Without it, the function app will not build. The adapter will throw an error if this file is not present.
  • Use new SvelteKit polyfill package
  • Only mark files in /_app/immutable as immutable.

@geoffrich geoffrich merged commit fd60cb2 into main Jun 10, 2022
@geoffrich geoffrich deleted the next-344 branch June 10, 2022 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update immutable cache handling Update polyfill handling Remove Node 12 target from esbuild settings
1 participant