-
-
Notifications
You must be signed in to change notification settings - Fork 609
Closed
Description
I'm using [email protected] which is the latest version and [email protected].
My css file loaders configuration is below
{
test: /\.css$/,
use: [
{ loader: 'style-loader' },
{
loader: 'css-loader',
options: {
module: true,
// getLocalIdent: (loaderContext, localIdentName, localName, options) => `${loaderContext}-${localIdentName}-${localName}-${options}`,
getLocalIdent: function (loaderContext, localIdentName, localName, options) {
console.log(arguments)
return 'whatever_random_class_name'
},
localIdentName: '[path]---[name]---[local]---[hash:base64:5]'
}
},
{ loader: 'postcss-loader' }
]
},
no output in the console, the function is not even called
faceyspacey, Lodin, soluml, nwoltman, dizel3d and 8 more
Metadata
Metadata
Assignees
Labels
No labels