Releases: vanilla-extract-css/vanilla-extract
@vanilla-extract/[email protected]
@vanilla-extract/[email protected]
Patch Changes
- Updated dependencies [
fdafb6d]:- @vanilla-extract/[email protected]
@vanilla-extract/[email protected]
Patch Changes
-
#1247
f0c3be9Thanks @askoufis! - Fixes a bug that was causing style compilation to fail on paths containing webpack template strings such as[id]or Next.js dynamic routes such as[slug]. -
Updated dependencies [
545bf82]:- @vanilla-extract/[email protected]
@vanilla-extract/[email protected]
Patch Changes
-
#1304
545bf82Thanks @fukumasuya! - Pass Viteresolveconfig to vite-node compilerThe plugin passes through the project's Vite
resolveconfig to the vite-node compiler, which will be used for resolving imports. These options includeresolve.alias,resolve.dedupe,resolve.conditions,resolve.mainFields,resolve.extensions, and others. -
Updated dependencies [
545bf82]:- @vanilla-extract/[email protected]
@vanilla-extract/[email protected]
Patch Changes
-
#1247
f0c3be9Thanks @askoufis! - Fixes a bug that was causing style compilation to fail on paths containing webpack template strings such as[id]or Next.js dynamic routes such as[slug]. -
Updated dependencies [
f0c3be9]:- @vanilla-extract/[email protected]
@vanilla-extract/[email protected]
Minor Changes
-
#1304
545bf82Thanks @fukumasuya! - Add aviteResolveoption to the vite-node compilerThis allows integrations to provide a Vite
resolveconfig to the vite-node compiler, which will be used for resolving imports. These options includeresolve.alias,resolve.dedupe,resolve.conditions,resolve.mainFields,resolve.extensions, and others.
@vanilla-extract/[email protected]
@vanilla-extract/[email protected]
@vanilla-extract/[email protected]
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