Skip to content

Releases: vanilla-extract-css/vanilla-extract

@vanilla-extract/[email protected]

23 Jun 00:38
a90f194

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

22 Jun 01:29
884cb27

Choose a tag to compare

Minor Changes

  • #206 64c18f9 Thanks @mattcompiles! - Add disableRuntimeStyles entrypoint

    In testing environments (like jsdom) vanilla-extract will create and insert styles. While this is often desirable, it can be a major slowdown in your tests. If your tests don't require styles to be available, the disableRuntimeStyles import will disable all style creation.

    // setupTests.ts
    import '@vanilla-extract/css/disableRuntimeStyles';

@vanilla-extract/[email protected]

21 Jun 23:26
65014ef

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

16 Jun 06:06
5833d4e

Choose a tag to compare

Patch Changes

  • #195 1099b34 Thanks @mattcompiles! - Fix issue when @vanilla-extract/webpack-plugin is nested within a separate node_modules folder

@vanilla-extract/[email protected]

04 Jun 06:06
9d699b5

Choose a tag to compare

Minor Changes

  • #183 6721228 Thanks @Brendan-csel! - Add processCss plugin option to allow further processing of CSS while bundling.

    Example for postcss with autoprefixer:

    const { vanillaExtractPlugin } = require('@vanilla-extract/esbuild-plugin');
    const postcss = require('postcss');
    const autoprefixer = require('autoprefixer');
    
    async function processCss(css) {
      const result = await postcss([autoprefixer]).process(css, {
        from: undefined /* suppress source map warning */,
      });
    
      return result.css;
    }
    
    require('esbuild')
      .build({
        entryPoints: ['app.ts'],
        bundle: true,
        plugins: [
          vanillaExtractPlugin({
            processCss,
          }),
        ],
        outfile: 'out.js',
      })
      .catch(() => process.exit(1));

@vanilla-extract/[email protected]

03 Jun 23:30
a612428

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

31 May 02:30
a5c4583

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

28 May 05:51
de4a19c

Choose a tag to compare

Major Changes

Patch Changes

@vanilla-extract/[email protected]

28 May 05:51
de4a19c

Choose a tag to compare

Major Changes

Patch Changes

@vanilla-extract/[email protected]

28 May 05:51
de4a19c

Choose a tag to compare

Patch Changes