We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c4e6d0 commit 578b417Copy full SHA for 578b417
src/getClassName.js
@@ -5,7 +5,6 @@ import type {
5
StyleModuleImportMapType,
6
HandleMissingStyleNameOptionType
7
} from './types';
8
-import optionsDefaults from './schemas/optionsDefaults';
9
10
const isNamespacedStyleName = (styleName: string): boolean => {
11
return styleName.indexOf('.') !== -1;
@@ -22,7 +21,7 @@ const getClassNameForNamespacedStyleName = (
22
21
const styleNameParts = styleName.split('.');
23
const importName = styleNameParts[0];
24
const moduleName = styleNameParts[1];
25
- const handleMissingStyleName = handleMissingStyleNameOption || optionsDefaults.handleMissingStyleName;
+ const handleMissingStyleName = handleMissingStyleNameOption || 'throw';
26
27
if (!moduleName) {
28
if (handleMissingStyleName === 'throw') {
0 commit comments