Closed
Description
Unless I use the use
option to re-include the core modules, I can't pass custom options to them, like a custom class name generator.
.plugin('css-modulesify', {
rootDir: __dirname,
output: `compiled.css`,
use: [
"postcss-modules-extract-imports",
"postcss-modules-local-by-default",
"postcss-modules-scope",
],
'postcss-modules-scope': {
generateScopedName: createClassName
}
Anyway we can pass in option without needing to do these re-inclusions?
Metadata
Metadata
Assignees
Labels
No labels