Skip to content

@sveltejs/[email protected]

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jul 14:17
· 619 commits to main since this release
57a592c

Minor Changes

  • Add experimental section to options and move useVitePreprocess 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>',...]
  • Move plugin preprocessor definition to api namespace (#98)

    Plugins that provide myplugin.sveltePreprocess, should move it to myplugin.api.sveltePreprocess, as suggested by rollup

  • Experimental: Generate sourcemaps for preprocessors that lack them (#101)

    enable option experimental.generateMissingPreprocessorSourcemaps to use it

Patch Changes

  • removed redundant disableCssHmr option (#99)

    You can use emitCss: false or emitCss: !!isProduction instead

  • further improvements to changelog (see #93) (#94)

  • reduce log output with log.once function to filter repetetive messages (#101)

  • remove transitive peer dependency on rollup (fixes #57) (#103)