Skip to content

Releases: vanilla-extract-css/vanilla-extract

@vanilla-extract/[email protected]

10 Mar 04:48
e318f9b

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

10 Mar 04:48
e318f9b

Choose a tag to compare

Minor Changes

  • #1030 49ff399 Thanks @markdalgleish! - Add createCompiler function for creating a compiler instance that can be re-used between builds. This is a low-level function intended for use by bundler plugins and, as such, is currently undocumented. Note that in order to use the new compiler you must also update @vanilla-extract/css to v1.10.0.

  • #1030 49ff399 Thanks @markdalgleish! - Add support for onBeginFileScope adapter lifecycle hook

Patch Changes

@vanilla-extract/[email protected]

10 Mar 04:48
e318f9b

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

10 Mar 04:48
e318f9b

Choose a tag to compare

Minor Changes

  • #1030 49ff399 Thanks @markdalgleish! - Provide current file scope as an additional argument to the adapter methods registerClassName and registerComposition. This is to allow fine-grained caching of registered class names and class compositions per file.

Patch Changes

@vanilla-extract/[email protected]

08 Mar 20:15
60196ec

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

02 Mar 12:10
c8beff7

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

02 Mar 12:10
c8beff7

Choose a tag to compare

Patch Changes

  • #1015 8a1751c Thanks @michaeltaranto! - Fix args.at is not a function error

    Refactor argument traversal to ensure compatibility with node 14.

@vanilla-extract/[email protected]

07 Feb 05:08
d9db9bf

Choose a tag to compare

Minor Changes

  • #989 669a61f Thanks @michaeltaranto! - Add emitCssInSsr option

    Provides the ability to opt in to emitting CSS during SSR.

    // vite.config.js
    
    import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
    
    export default {
      plugins: [
        vanillaExtractPlugin({
          emitCssInSsr: true,
        }),
      ],
    };

@vanilla-extract/[email protected]

07 Feb 05:08
d9db9bf

Choose a tag to compare

Minor Changes

  • #982 a9fd1c3 Thanks @roginfarrer! - If a regular CSS file is sent through to the transform, return a module that exports the filename.

@vanilla-extract/[email protected]

07 Feb 05:08
d9db9bf

Choose a tag to compare

Patch Changes

  • #990 3b724b9 Thanks @askoufis! - Align transformation of @keyframes rules with other rules

    This fixes a bug where invalid CSS could be generated inside @keyframes rules.