Skip to content

Commit

Permalink
always label emotion css classes with meaningful names (not just in d…
Browse files Browse the repository at this point in the history
…ev, which is the default)
  • Loading branch information
twrichards committed Aug 8, 2023
1 parent 0978db1 commit b4f1a03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ module.exports = (env, argv) => {
options: {
presets: [
"@babel/preset-typescript",
"@emotion/babel-preset-css-prop", // replaces @babel/preset-react
[
"@emotion/babel-preset-css-prop", // replaces @babel/preset-react
{ autoLabel: "always" },
],
"@babel/preset-env",
],
},
Expand Down

0 comments on commit b4f1a03

Please sign in to comment.