Skip to content

Commit

Permalink
chore(react-components): add "wyw-in-js" field for tag processor
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
layershifter committed Dec 11, 2023
1 parent 7d9934c commit e5d525b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: add \"wyw-in-js\" field for tag processor",
"packageName": "@fluentui/react-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
8 changes: 7 additions & 1 deletion packages/react-components/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,11 @@
"lib",
"lib-commonjs",
"unstable"
]
],
"wyw-in-js": {
"tags": {
"makeStyles": "@griffel/tag-processor/make-styles",
"makeResetStyles": "@griffel/tag-processor/make-reset-styles"
}
}
}

0 comments on commit e5d525b

Please sign in to comment.