We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe3c8a commit 4364249Copy full SHA for 4364249
index.js
@@ -47,7 +47,9 @@ module.exports = function (browserify, options) {
47
// custom scoped name generation
48
if (name === 'postcss-modules-scope') {
49
options[name] = options[name] || {};
50
- options[name].generateScopedName = createScopedNameFunc(plugin);
+ if (!options[name].generateScopedName) {
51
+ options[name].generateScopedName = createScopedNameFunc(plugin);
52
+ }
53
}
54
55
if (name in options) {
0 commit comments