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 {
55 StyleModuleImportMapType ,
66 HandleMissingStyleNameOptionType
77} from './types' ;
8- import optionsDefaults from './schemas/optionsDefaults' ;
98
109const isNamespacedStyleName = ( styleName : string ) : boolean => {
1110 return styleName . indexOf ( '.' ) !== - 1 ;
@@ -22,7 +21,7 @@ const getClassNameForNamespacedStyleName = (
2221 const styleNameParts = styleName . split ( '.' ) ;
2322 const importName = styleNameParts [ 0 ] ;
2423 const moduleName = styleNameParts [ 1 ] ;
25- const handleMissingStyleName = handleMissingStyleNameOption || optionsDefaults . handleMissingStyleName ;
24+ const handleMissingStyleName = handleMissingStyleNameOption || 'throw' ;
2625
2726 if ( ! moduleName ) {
2827 if ( handleMissingStyleName === 'throw' ) {
You can’t perform that action at this time.
0 commit comments