Major Changes
-
#1264
e531c41Thanks @mrm007! - The Vite plugin now uses a newer, faster, Vite-based compiler by default.The new compiler uses
vite-nodeto parse and extract CSS from.css.tsfiles. 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
e531c41Thanks @mrm007! - The behaviour previously known asemitCssInSsrhas been turned on by default. TheemitCssInSsroption 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
e531c41Thanks @mrm007! - TheesbuildOptionsoption has been removed as we are no longer using esbuild internally