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 369e362 commit 7525e8fCopy full SHA for 7525e8f
src/requireCssModule.js
@@ -50,8 +50,8 @@ type OptionsType = {|
50
export default (cssSourceFilePath: string, options: OptionsType): StyleModuleMapType => {
51
// eslint-disable-next-line prefer-const
52
let runner;
53
-
54
- const scopedName = genericNames(options.generateScopedName);
+ const localIdentName = options.generateScopedName || '[hash:base64]';
+ const scopedName = genericNames(localIdentName);
55
56
const fetch = (to: string, from: string) => {
57
const fromDirectoryPath = dirname(from);
0 commit comments