github-actions
released this
19 Jul 14:17
·
619 commits
to main
since this release
Minor Changes
-
Add
experimental
section to options and moveuseVitePreprocess
there (#99)Experimental options are not ready for production use and breaking changes to them can occur in any release
If you already had
useVitePreprocess
enabled, 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.generateMissingPreprocessorSourcemaps
to use it