Skip to content

Instantly share code, notes, and snippets.

@a-m-dev
Created November 5, 2019 13:28
Show Gist options
  • Save a-m-dev/52263d68b25344efcef958fb127fdb3d to your computer and use it in GitHub Desktop.
Save a-m-dev/52263d68b25344efcef958fb127fdb3d to your computer and use it in GitHub Desktop.
{
test: /\.(sa|sc|c)ss$/,
use: [
MiniCssExtractPlugin.loader,
// 'css-loader',
{
loader: 'css-loader',
options: {
importLoaders: 1,
localsConvention: 'camelCaseOnly',
onlyLocals: false,
modules: {
localIdentName:'[path][name]__[local]--[hash:base64:5]',
},
}
},
'sass-loader'
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment