Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
dddlr committed Oct 15, 2024
1 parent 36358db commit 83fbc18
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions website/packages/docs/src/pages/css-extraction-webpack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,8 @@ Then configure the `extract` plugin to `true` in your Compiled configuration. Fo
```json
// .compiledcssrc
{
"addComponentName": true,
"extract": true, // <-- add this
"inlineCss": true,
"transformerBabelPlugins": [
[
"@atlaskit/tokens/babel-plugin",
{
"shouldUseAutoFallback": true
}
]
]
"transformerBabelPlugins": [["@atlaskit/tokens/babel-plugin"]]
}
```

Expand Down Expand Up @@ -211,7 +202,7 @@ module.exports = {
],
},
+ {
+ test: /\.compiled-css.css$/i,
+ test: /compiled-css\.css$/i,
+ use: [MiniCssExtractPlugin.loader, 'css-loader'],
+ },
// The following loader will be used for css files that are not from Compiled.
Expand Down

0 comments on commit 83fbc18

Please sign in to comment.