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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrap @sveltejs/adapter-static #29

Merged
merged 1 commit into from
Feb 26, 2023

Conversation

wallw-teal
Copy link
Contributor

@wallw-teal wallw-teal commented Feb 14, 2023

This helps us more easily keep up with changes in the official svelte packages by using it directly and then doing our extra changes afterward.

One downside to this is that emptyOutDir is no longer a valid option, and the directory is always emptied by the adapter-static adapt function.

fixes #28

I also noticed that eslint/prettier/tests/tsc are not configured inside the reop, despite appearing in package.json. So fingers crossed those all pass 馃. Additionally, I think I'm using a newer version of npm and it wanted to rewrite the package-lock.json. I can knock that out of the commit if that is annoying (that is causing the large diff).

This helps us more easily keep up with changes in the official svelte
packages by using it directly and then doing our extra changes
afterward.

One downside to this is that `emptyOutDir` is no longer a valid option,
and the directory is always emptied by the adapter-static adapt
function.

fixes michmich112#28
@wallw-teal wallw-teal changed the title wrap @sveltejs/adapter static wrap @sveltejs/adapter-static Feb 14, 2023
@michmich112
Copy link
Owner

michmich112 commented Feb 26, 2023

I like this !
Great job @wallw-teal this will definitely help for keeping in sync with future Sveltekit changes

Due to the deprecation of the emptyOutDir api, we'll mark this as a new major version: v2.0.0
Users will still be able to use the emptyOutDir api in v1.X!

Thank you for your contribution!

@michmich112 michmich112 merged commit c34845f into michmich112:main Feb 26, 2023
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.

Fallback config is not working
2 participants