fix: Cascader missing props (#32143)

* fix: Cascader deps

* docs: Update using new API

* test: Test case cover

* chore: compressed skip dup check
This commit is contained in:
二货机器人
2021-09-13 15:59:57 +08:00
committed by GitHub
parent 008242b35e
commit 272ff9885a
8 changed files with 68 additions and 27 deletions

View File

@@ -145,12 +145,14 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
}),
);
config.plugins.push(
new DuplicatePackageCheckerPlugin({
verbose: true,
emitError: true,
}),
);
if (!process.env.NO_DUP_CHECK) {
config.plugins.push(
new DuplicatePackageCheckerPlugin({
verbose: true,
emitError: true,
}),
);
}
});
processWebpackThemeConfig(webpackDarkConfig, 'dark', darkVars);