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(
668668 './lib/util/mergeConfigWithDefaults.js'
669669 ) )
670670 const defaultConfig = require ( resolveFrom ( tailwindDir , './defaultConfig.js' ) )
671- resolveConfigFn = ( config ) => resolveConfig ( config , defaultConfig ( ) )
671+ resolveConfigFn = ( config ) => resolveConfig . default ( config , defaultConfig ( ) )
672672 } catch ( _ ) {
673673 throw Error ( 'Failed to load resolveConfig function.' )
674674 }
@@ -1029,7 +1029,10 @@ async function createProjectService(
10291029
10301030 try {
10311031 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+ }
10331036 state . blocklist = Array . isArray ( state . config . blocklist ) ? state . config . blocklist : [ ]
10341037 delete state . config . blocklist
10351038
You can’t perform that action at this time.
0 commit comments