always disregard user-defined mode
parent
2b8a88b267
commit
d7d0406794
|
@ -565,12 +565,13 @@ async function createProjectService(
|
||||||
state.jit = true
|
state.jit = true
|
||||||
userVariants = exports.variants
|
userVariants = exports.variants
|
||||||
exports.variants = []
|
exports.variants = []
|
||||||
userMode = exports.mode
|
|
||||||
delete exports.mode
|
|
||||||
} else {
|
} else {
|
||||||
state.jit = false
|
state.jit = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
userMode = exports.mode
|
||||||
|
delete exports.mode
|
||||||
|
|
||||||
// inject JIT `matchUtilities` function
|
// inject JIT `matchUtilities` function
|
||||||
if (Array.isArray(exports.plugins)) {
|
if (Array.isArray(exports.plugins)) {
|
||||||
userPlugins = exports.plugins
|
userPlugins = exports.plugins
|
||||||
|
|
Loading…
Reference in New Issue