Skip to content

v4.1.1 - Set Svelte compiler css option to 'none'

Compare
Choose a tag to compare
@poppa poppa released this 31 Aug 06:36
· 54 commits to main since this release

The css option to Svelte compile() has changed and setting it to a boolean value has been deprecated.

This gave the compilerOptions.css as a boolean is deprecated. Use 'external' instead of false. warning.

Since we're disregarding the css field in the generated result, we can set this option to none and skip all CSS stuff altogether.