We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00dc4b3 commit f3ccba1Copy full SHA for f3ccba1
src/getClassName.js
@@ -56,7 +56,7 @@ export default (styleNameValue: string, styleModuleImportMap: StyleModuleImportM
56
const styleModuleMap: StyleModuleMapType = styleModuleImportMap[styleModuleImportMapKeys[0]];
57
58
if (!styleModuleMap[styleName]) {
59
- throw new Error('CSS module cannot be resolved.');
+ throw new Error('Could not resolve the styleName \'' + styleName + '\'.');
60
}
61
62
return styleModuleMap[styleName];
0 commit comments