always disregard user-defined mode

master
Brad Cornes 2021-05-06 18:00:33 +01:00
parent 2b8a88b267
commit d7d0406794
1 changed files with 3 additions and 2 deletions

View File

@ -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