File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/tailwindcss-language-server/src Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ async function createProjectService(
668
668
'./lib/util/mergeConfigWithDefaults.js'
669
669
) )
670
670
const defaultConfig = require ( resolveFrom ( tailwindDir , './defaultConfig.js' ) )
671
- resolveConfigFn = ( config ) => resolveConfig ( config , defaultConfig ( ) )
671
+ resolveConfigFn = ( config ) => resolveConfig . default ( config , defaultConfig ( ) )
672
672
} catch ( _ ) {
673
673
throw Error ( 'Failed to load resolveConfig function.' )
674
674
}
@@ -1029,7 +1029,10 @@ async function createProjectService(
1029
1029
1030
1030
try {
1031
1031
state . config = resolveConfig . module ( originalConfig )
1032
- state . separator = state . config . separator
1032
+ state . separator = dlv ( state . config , sepLocation )
1033
+ if ( typeof state . separator !== 'string' ) {
1034
+ state . separator = ':'
1035
+ }
1033
1036
state . blocklist = Array . isArray ( state . config . blocklist ) ? state . config . blocklist : [ ]
1034
1037
delete state . config . blocklist
1035
1038
You can’t perform that action at this time.
0 commit comments