·
488 commits
to master
since this release
Major Changes
-
#323
1e7d647Thanks @mattcompiles! - Formatting of identifiers (e.g. class names, keyframes, CSS Vars, etc) can now be configured via theidentifiersoption which accepts eithershortordebug.shortidentifiers are a 7+ character hash. e.g.hnw5tz3debugidentifiers contain human readable prefixes representing the owning filename and a potential rule level debug name. e.g.somefile_mystyle_hnw5tz3
import { vanillaExtractPlugin } from '@vanilla-extract/esbuild-plugin'; vanillaExtractPlugin({ identifiers: 'short' });
BREAKING CHANGE
Previously identifiers were formatted as
shortwhenprocess.env.NODE_ENVwas set to "production". By default, they will now be formatted according to esbuild's minify config.
Patch Changes
- Updated dependencies [
1e7d647]:- @vanilla-extract/[email protected]