Skip to content

Commit

Permalink
Update readme with the new cssLoaderOptions
Browse files Browse the repository at this point in the history
https://github.com/webpack-contrib/css-loader/releases/tag/v3.0.0

`localIdentName` option was removed in favor `modules.localIdentName` option
  • Loading branch information
alexander-svendsen authored Jan 11, 2020
1 parent 5acada9 commit 68898ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ module.exports = {
plugin: CracoLessPlugin,
options: {
cssLoaderOptions: {
modules: true,
localIdentName: "[local]_[hash:base64:5]"
modules: {localIdentName: '[local]_[hash:base64:5]'}
}
}
}
Expand Down

0 comments on commit 68898ce

Please sign in to comment.