I currently have the following setup in my webpack.config.js
:
{
test: /\.css$/,
use: [
{loader: "style-loader"},
{
loader: "css-loader",
options: {
modules: true,
importLoaders: 1,
sourceMap: true
}
}
]
}
It's functioning as intended, but there is one minor aspect that could be enhanced - the naming of generated classes.
Is there a way to, for example, append the generated string to the existing class name?
For instance:
// before:
gSJW8QAdF0l_JiFWFeyjq
// after:
loginContainer_gSJW8QAdF0l_JiFWFeyjq