fix(build,dev) disable circular dependency detector
It can be enabled with the env var, there are just too many positives at the moment for it to be useful.
This commit is contained in:
parent
e7c5421e33
commit
b85da1e1bb
|
@ -282,7 +282,7 @@ module.exports = (_env, argv) => {
|
|||
const mode = typeof argv.mode === 'undefined' ? 'production' : argv.mode;
|
||||
const isProduction = mode === 'production';
|
||||
const configOptions = {
|
||||
detectCircularDeps: Boolean(process.env.DETECT_CIRCULAR_DEPS) || !isProduction,
|
||||
detectCircularDeps: Boolean(process.env.DETECT_CIRCULAR_DEPS),
|
||||
minimize: isProduction
|
||||
};
|
||||
const config = getConfig(configOptions);
|
||||
|
|
Loading…
Reference in New Issue