File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import type {
5
5
StyleModuleImportMapType ,
6
6
HandleMissingStyleNameOptionType
7
7
} from './types' ;
8
- import optionsDefaults from './schemas/optionsDefaults' ;
9
8
10
9
const isNamespacedStyleName = ( styleName : string ) : boolean => {
11
10
return styleName . indexOf ( '.' ) !== - 1 ;
@@ -22,7 +21,7 @@ const getClassNameForNamespacedStyleName = (
22
21
const styleNameParts = styleName . split ( '.' ) ;
23
22
const importName = styleNameParts [ 0 ] ;
24
23
const moduleName = styleNameParts [ 1 ] ;
25
- const handleMissingStyleName = handleMissingStyleNameOption || optionsDefaults . handleMissingStyleName ;
24
+ const handleMissingStyleName = handleMissingStyleNameOption || 'throw' ;
26
25
27
26
if ( ! moduleName ) {
28
27
if ( handleMissingStyleName === 'throw' ) {
You can’t perform that action at this time.
0 commit comments