Skip to content

Commit e3dfd4a

Browse files
author
Ben Jervis
authored
Fix exports for css (#514)
1 parent 3b34033 commit e3dfd4a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/nice-bobcats-swim.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@vanilla-extract/css': patch
3+
---
4+
5+
Export the package.json for css/fileScope
6+
7+
This is required to maintain backwards compatibility with older versions of webpack-plugin

packages/css/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"module": "./fileScope/dist/vanilla-extract-css-fileScope.esm.js",
6060
"default": "./fileScope/dist/vanilla-extract-css-fileScope.cjs.js"
6161
},
62+
"./fileScope/package.json": "./fileScope/package.json",
6263
"./injectStyles": {
6364
"browser": {
6465
"module": "./injectStyles/dist/vanilla-extract-css-injectStyles.browser.esm.js",

0 commit comments

Comments
 (0)