Skip to content

Commit e5d525b

Browse files
committed
chore(react-components): add "wyw-in-js" field for tag processor
Adds `wyw-in-js` field to `package.json` to support styles processing with WyW-in-JS compiler (https://wyw-in-js.dev/). The plan is to use this compiler for Vite/esbuild plugins (microsoft/griffel#41) and later switch our Webpack loader to it (microsoft/griffel#414).
1 parent 7d9934c commit e5d525b

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "chore: add \"wyw-in-js\" field for tag processor",
4+
"packageName": "@fluentui/react-components",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/react-components/react-components/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,11 @@
117117
"lib",
118118
"lib-commonjs",
119119
"unstable"
120-
]
120+
],
121+
"wyw-in-js": {
122+
"tags": {
123+
"makeStyles": "@griffel/tag-processor/make-styles",
124+
"makeResetStyles": "@griffel/tag-processor/make-reset-styles"
125+
}
126+
}
121127
}

0 commit comments

Comments
 (0)