fix separator (#343)

master
Brad Cornes 2021-06-05 15:39:15 +01:00
parent 14ec688199
commit 405f22f339
1 changed files with 2 additions and 2 deletions

View File

@ -642,7 +642,7 @@ async function createProjectService(
let separator = dlv(exports, sepLocation)
if (typeof separator !== 'string') {
separator = ''
separator = ':'
}
dset(exports, sepLocation, `__TWSEP__${separator}__TWSEP__`)
exports.purge = []
@ -732,6 +732,7 @@ async function createProjectService(
}
state.config = resolveConfig.module(originalConfig)
state.separator = state.config.separator
if (state.jit) {
state.jitContext = state.modules.jit.createContext.module(state)
@ -772,7 +773,6 @@ async function createProjectService(
state.configId = getConfigId(state.configPath, state.dependencies)
state.separator = state.config.separator
state.plugins = await getPlugins(originalConfig)
state.classNames = (await extractClassNames(postcssResult.root)) as ClassNames
state.variants = getVariants(state)