- Updated dependencies [
a440470]:- @vanilla-extract/[email protected]
- Updated dependencies []:
- @vanilla-extract/[email protected]
- Updated dependencies [
ad5a08b]:- @vanilla-extract/[email protected]
-
#1610
2b0be1bThanks @askoufis! - Revert "Improve ESM package entrypoints (#1597)" to fixNamed export not founderror when importing ESM entrypoints -
Updated dependencies []:
- @vanilla-extract/[email protected]
- #1602
7a78ebeThanks @Pnlvfx! - Fixrequire is not definederror in ESM bundles by callingcreateRequire
-
Updated dependencies []:
- @vanilla-extract/[email protected]
- Updated dependencies []:
- @vanilla-extract/[email protected]
- Updated dependencies [
965fd03]:- @vanilla-extract/[email protected]
- Updated dependencies [
5f66abb,a8248be,ec0b024,a8248be]:- @vanilla-extract/[email protected]
- Updated dependencies []:
- @vanilla-extract/[email protected]
- Updated dependencies []:
- @vanilla-extract/[email protected]
- Updated dependencies []:
- @vanilla-extract/[email protected]
- Updated dependencies [
96dd466127374b21ad7e48e5dd168a03a96af047]:- @vanilla-extract/[email protected]
- Updated dependencies [
6668e9e069276b0fd9ccd9668403b4eeb840a11b,61878f5fb21a33190ef242551c639e216ba4748a]:- @vanilla-extract/[email protected]
- Updated dependencies [
124c31c2d9fee24d937c4626cec524d527d4e55e]:- @vanilla-extract/[email protected]
- Updated dependencies []:
- @vanilla-extract/[email protected]
-
#1335
b8a99e4980710a34692034d5da43e584edbc3d17Thanks @askoufis! - Addtypesfield topackage.json -
Updated dependencies [
b8a99e4980710a34692034d5da43e584edbc3d17]:- @vanilla-extract/[email protected]
-
#1385
3df9b4ebc5ad7e03e5c908c10216447b7089132aThanks @askoufis! - Replacechalkdependency withpicocolors -
Updated dependencies [
606660618dc5efa6c529f77cebf9d2b8dc379dbd,e58cf9013c6f6cdfacb2a7936b3354e71138e9fb]:- @vanilla-extract/[email protected]
-
#1333
6ac9f66Thanks @askoufis! - Use a more accurate regex for detecting webpack template strings in pathsWe now use a modified version of the regex from the webpack source code to detect template strings in paths. As long as the path isn't already escaped, we should detect it.
- Updated dependencies [
fdafb6d]:- @vanilla-extract/[email protected]
-
#1247
f0c3be9Thanks @askoufis! - Fixes a bug that was causing style compilation to fail on paths containing webpack template strings such as[id]or Next.js dynamic routes such as[slug]. -
Updated dependencies [
545bf82]:- @vanilla-extract/[email protected]
-
Updated dependencies [
e531c41,e531c41]:- @vanilla-extract/[email protected]
-
#1291
00af971Thanks @mrm007! - Update dependency@vanilla-extract/integration -
#1254
f373d7fThanks @EvgenNoskov! - Allow hyphens in class names when using a custom identifier
-
#1262
610c50bThanks @mrm007! - Update Babel config to target Node.js 14 -
Updated dependencies [
610c50b,610c50b]:- @vanilla-extract/[email protected]
- #1180
89224feThanks @syfxlin! - Fixes Next.js 13 CSS output on Windows when using React Server Components
- #1160
e391baeThanks @SombreroElGringo! - Users can now provide a custom identifier hashing function
-
#827
9cfb9a1Thanks @mattcompiles! - Remove requirement for@vanilla-extract/babel-pluginPreviously, to get automatic debug IDs you needed to use Babel with the
@vanilla-extract/babel-pluginin your config. As this is no longer the case, the@vanilla-extract/babel-pluginshould be removed completely from your project.
- Updated dependencies [
9cfb9a1,9cfb9a1,9cfb9a1]:- @vanilla-extract/[email protected]
- #783
21afc23Thanks @benjervis! - Remove theextractedentrypoint from the webpack plugin.
- Updated dependencies [
e373b51]:- @vanilla-extract/[email protected]
-
#673
f6d5337Thanks @mattcompiles! - Fix issue where.css.tsfiles with the same file path from other packages could have identifier collisions -
Updated dependencies [
f6d5337]:- @vanilla-extract/[email protected]
-
#647
3c9b7d9Thanks @mattcompiles! - Use more realistic file paths for virtual CSS files -
Updated dependencies [
3c9b7d9]:- @vanilla-extract/[email protected]
-
#634
69b8460Thanks @phil-lgr! - Add fileName to the CSS virtual loader paramsThis allows users to identify the source file for vanilla-extract css imports
- #645
5ebca75Thanks @mattcompiles! - Bump@vanilla-extract/integrationdep
-
#621
bec1cd8Thanks @nayaabkhan! - Improve build performance when creating large CSS files -
Updated dependencies [
bec1cd8,e1550da,e1550da]:- @vanilla-extract/[email protected]
-
#543
2c7abb1Thanks @mattcompiles! - Ensure code is compatible with node 12 -
Updated dependencies [
2c7abb1]:- @vanilla-extract/[email protected]
- Updated dependencies [
64791f3]:- @vanilla-extract/[email protected]
- #508
d15e783Thanks @markdalgleish! - Addexportsfield topackage.jsonso nested package paths can be imported in a Node.js ESM context
-
#492
f2d2d9eThanks @benjervis! - Fix requiring of webpack loaderPreviously, the webpack plugin would reference itself as a loader by requiring
@vanilla-extract/webpack-plugin/loader, but this was technically incorrect, and only worked because of the flat node_modules structure that yarn provides.When using a package manager like pnpm, which does not have a flat structure, this breaks.
This change uses relative references internally to ensure that the loader can always be required.
- #459
2719dc0Thanks @mattcompiles! - Remove unused files and dependencies
-
#459
2719dc0Thanks @mattcompiles! - Remove "Styles detected outside of '.css.(ts/js)' files" errorThis error could occasionally cause false positives, and was inconsistent with the rest of the integrations.
-
#341
0b743e7Thanks @mattcompiles! - No longer require Babel to be run on .css.ts filesPreviously, the
@vanilla-extract/webpack-pluginrequired the@vanilla-extract/babel-pluginto be run over .css.ts files. In order to bring webpack inline with the other integrations, the@vanilla-extract/webpack-plugincan now be used without Babel.Note: Automatic debug IDs still require the
@vanilla-extract/babel-plugin.
- Updated dependencies [
50bae14,0b743e7]:- @vanilla-extract/[email protected]
-
#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/webpack-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 webpack's mode config.
- Updated dependencies [
1e7d647]:- @vanilla-extract/[email protected]
-
#259
b8a6441Thanks @markdalgleish! - Allow the result ofcomposeStylesto be used in selectorsWhen style compositions are used in selectors, they are now assigned an additional class so they can be uniquely identified. When selectors are processed internally, the composed classes are removed, only leaving behind the unique identifier classes. This allows you to treat them as if they were a single class within vanilla-extract selectors.
import { style, globalStyle, composeStyles } from '@vanilla-extract/css'; const background = style({ background: 'mintcream' }); const padding = style({ padding: 12 }); export const container = composeStyles( background, padding ); globalStyle(`${container} *`, { boxSizing: 'border-box' });
-
#260
c3d9d78Thanks @mattcompiles! - Remove unused compiler cache -
Updated dependencies [
b8a6441]:- @vanilla-extract/[email protected]
- #208
a1c79fcThanks @markdalgleish! - Deprecate redundantallowRuntimeoption
- #195
1099b34Thanks @mattcompiles! - Fix issue when @vanilla-extract/webpack-plugin is nested within a separate node_modules folder
- #181
7a63af8Thanks @mattcompiles! - Fix issue where CSS can be duplicated in some scenarios
- #171
84a8611Thanks @mattcompiles! - Release v1
- Updated dependencies [
84a8611]:- @vanilla-extract/[email protected]
- #134
b99dd0aThanks @mattcompiles! - Move shared logic to integration package
- #53
58e4f8aThanks @mattcompiles! - Support exporting functions from.css.tsfiles via recipes
- Updated dependencies [
48c4a78,2d98bcc]:- @vanilla-extract/[email protected]
- Updated dependencies [
156b491,ae9864c,756d9b0]:- @vanilla-extract/[email protected]
-
#20
3311914Thanks @mattcompiles! - Ensure generated hashes are scoped by packagevanilla-extract uses file path to ensure unique identifier (e.g. class names, CSS Variables, keyframes, etc) hashes across your application. This information is added to your
*.css.tsfiles at build time. The issue with this approach is it meant*.css.tsfiles couldn't be pre-compiled when being published to npm.This change adds support for pre-compilation of packages by adding package name information to identifier hashes.
- Updated dependencies [
3311914,c4bedd5]:- @vanilla-extract/[email protected]
- e83ad50: Initial release
- Updated dependencies [e83ad50]
- @vanilla-extract/[email protected]