-
-
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.
Convert build to Vite plugin and expose as `@sveltejs/kit/experimenta…
…l/vite` (#5094) * Expose Vite plugin as @sveltejs/kit/vite * make svelte config optional * Implement build * export as experimental/vite for now * add plugin correct number of times with or without vite.config.js * add TODO * don't rename dev file for now * update API * cleanup * Update packages/kit/src/vite/plugin.js Co-authored-by: Rich Harris <richard.a.harris@gmail.com> * Revert "Update packages/kit/src/vite/plugin.js" This reverts commit 4d60028. * enable validation plugin * enable validation for real this time * add validation plugin to all builds * format * fix plugin handling * format * cleanup API * remove configFile: false * fix validation plugin * fix preview * Update healthy-carrots-cross.md * move dev/build/preview inside vite plugin * move adapt inside build * move all vite-related code into src/vite * move some more stuff around * fix some stuff * simplify stuff * remove unused plugins_internal * we can now simplify stuff a bunch * simplify * lint * update path in .prettierrc * revert accidental change * try fixing CI * try fixing CI * lint * lint * fix * appease typescript. not sure why this started happening * whyyy * simplify * simplify * simplify * respect user config in build * update turbo cache * format * resolveJsonModule * remove unnecessary configResolved hook * remove unused option * minor simplification * simplify * move some stuff closer to where its used * dry some stuff out, move some stuff to buildStart * do all config checking up-front * remove unused print_config_conflicts * remove unused import * simplify merging * remove unused import * remove blank line * i think these files were committed by mistake * set env vars earlier Co-authored-by: Rich Harris <richard.a.harris@gmail.com> Co-authored-by: Rich Harris <hello@rich-harris.dev>
- Loading branch information
1 parent
ddb43dc
commit c556511
Showing
63 changed files
with
1,214 additions
and
1,171 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/kit': patch | ||
--- | ||
|
||
Expose Vite plugin as @sveltejs/kit/experimental/vite |
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.