Major Changes
-
#323
1e7d647
Thanks @mattcompiles! - Formatting of identifiers (e.g. class names, keyframes, CSS Vars, etc) can now be configured via theidentifiers
option which accepts eithershort
ordebug
.short
identifiers are a 7+ character hash. e.g.hnw5tz3
debug
identifiers 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/webpack-plugin'; vanillaExtractPlugin({ identifiers: 'short' });
BREAKING CHANGE
Previously identifiers were formatted as
short
whenprocess.env.NODE_ENV
was set to "production". By default, they will now be formatted according to webpack's mode config.
Patch Changes
- Updated dependencies [
1e7d647
]:- @vanilla-extract/integration@1.2.0