@vanilla-extract/vite-plugin@4.0.0
Major Changes
-
#1264
e531c41
Thanks @mrm007! - The Vite plugin now uses a newer, faster, Vite-based compiler by default.The new compiler uses
vite-node
to parse and extract CSS from.css.ts
files. This comes with all the benefits of using Vite, faster builds and the ability to use Vite plugins.The new compiler has been used in Remix ever since support for Vanilla Extract was introduced.
-
#1264
e531c41
Thanks @mrm007! - The behaviour previously known asemitCssInSsr
has been turned on by default. TheemitCssInSsr
option has been removed.This means that the CSS emitted by the plugin is now processed by Vite, so the plugin no longer needs to resolve PostCSS plugins and process the CSS output itself.
-
#1264
e531c41
Thanks @mrm007! - TheesbuildOptions
option has been removed as we are no longer using esbuild internally