@sveltejs/vite-plugin-svelte@1.0.0-next.13
Pre-release
Pre-release
·
722 commits
to main
since this release
Minor Changes
-
Add
experimentalsection to options and moveuseVitePreprocessthere (#99)Experimental options are not ready for production use and breaking changes to them can occur in any release
If you already had
useVitePreprocessenabled, update you config:- svelte({useVitePreprocess: true}) + svelte({experimental: {useVitePreprocess: true}})
-
Add option to ignore svelte preprocessors of other vite plugins (#98)
- ignore them all:
ignorePluginPreprocessors: true - ignore by name:
ignorePluginPreprocessors: ['<name of plugin>',...]
- ignore them all:
-
Move plugin preprocessor definition to api namespace (#98)
Plugins that provide
myplugin.sveltePreprocess, should move it tomyplugin.api.sveltePreprocess, as suggested by rollup -
Experimental: Generate sourcemaps for preprocessors that lack them (#101)
enable option
experimental.generateMissingPreprocessorSourcemapsto use it