You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert build to Vite plugin and expose as @sveltejs/kit/experimental/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 <[email protected]>
* 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 <[email protected]>
Co-authored-by: Rich Harris <[email protected]>
console.log(`\n ${colors.yellow('Serving with vite.server.fs.strict: false. Note that all files on your machine will be accessible to anyone on your network.')}`);
307
267
}elseif(allow?.length&&cwd){
308
-
console.log(`\n ${colors.yellow('Note that all files in the following directories will be accessible to anyone on your network: '+allow.map(a=>relative(cwd,a)).join(', '))}`);
268
+
console.log(`\n ${colors.yellow('Note that all files in the following directories will be accessible to anyone on your network: '+allow.map(a=>path.relative(cwd,a)).join(', '))}`);
309
269
}
310
270
}else{
311
271
console.log(` ${colors.gray('network: not exposed')}`);
0 commit comments