vanilla-extract

Zero-runtime Stylesheets-in-TypeScript

MIT License

Downloads
15.5M
Stars
9.6K
Committers
113

Bot releases are hidden (Show)

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

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 as emitCssInSsr has been turned on by default. The emitCssInSsr 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! - The esbuildOptions option has been removed as we are no longer using esbuild internally

  • #1264 e531c41 Thanks @mrm007! - Drop support for Vite < 4

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Minor Changes

  • #1264 e531c41 Thanks @mrm007! - Export a normalizePath function that converts path separators to forward slashes

    Example usage

    import { normalizePath } from '@vanilla-extract/integration';
    
    normalizePath('foo\\bar'); // 'foo/bar'
    normalizePath('foo/bar'); // 'foo/bar'
    

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Minor Changes

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes

vanilla-extract - @vanilla-extract/[email protected]

Published by vanilla-extract-ci 9 months ago

Patch Changes