perf: 🆙 upgrade to omit.js@2.0.2 (#25507)

* 🆙 upgrade to omit.js@2.0.2

* remove unused dep

* fix ci

* 🆙 upgrade rc-mentions
This commit is contained in:
偏右 2020-07-08 23:14:22 +08:00 committed by GitHub
parent 0b7271767e
commit 71447da264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -108,12 +108,11 @@
"@ant-design/icons": "^4.2.1",
"@ant-design/react-slick": "~0.26.1",
"array-tree-filter": "^2.1.0",
"bundle-stats": "^2.2.0",
"classnames": "^2.2.6",
"copy-to-clipboard": "^3.2.0",
"lodash": "^4.17.13",
"moment": "^2.25.3",
"omit.js": "^1.0.2",
"omit.js": "^2.0.2",
"raf": "^3.4.1",
"rc-animate": "~3.1.0",
"rc-cascader": "~1.3.0",
@ -124,8 +123,8 @@
"rc-dropdown": "~3.1.2",
"rc-field-form": "~1.5.0",
"rc-input-number": "~5.1.0",
"rc-mentions": "~1.3.0",
"rc-menu": "~8.4.1",
"rc-mentions": "~1.4.0",
"rc-menu": "~8.5.0",
"rc-notification": "~4.4.0",
"rc-pagination": "~2.4.1",
"rc-picker": "~1.10.6",
@ -138,7 +137,7 @@
"rc-switch": "~3.2.0",
"rc-table": "~7.8.0",
"rc-tabs": "~11.5.0",
"rc-textarea": "~0.2.2",
"rc-textarea": "~0.3.0",
"rc-tooltip": "~4.2.0",
"rc-tree": "~3.6.0",
"rc-tree-select": "~4.0.2",

View File

@ -3,8 +3,6 @@
const getWebpackConfig = require('@ant-design/tools/lib/getWebpackConfig');
const IgnoreEmitPlugin = require('ignore-emit-webpack-plugin');
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const { BundleStatsWebpackPlugin } = require('bundle-stats-webpack-plugin');
const { RelativeCiAgentWebpackPlugin } = require('@relative-ci/agent');
const EsbuildPlugin = require('esbuild-webpack-plugin').default;
const darkVars = require('./scripts/dark-vars');
const compactVars = require('./scripts/compact-vars');
@ -58,6 +56,10 @@ function addBundleStatsWebpackPlugin(config) {
if (!process.env.CIRCLECI || process.env.RUN_ENV !== 'PRODUCTION') {
return;
}
// eslint-disable-next-line global-require
const { BundleStatsWebpackPlugin } = require('bundle-stats-webpack-plugin');
// eslint-disable-next-line global-require
const { RelativeCiAgentWebpackPlugin } = require('@relative-ci/agent');
config.plugins.push(
new BundleStatsWebpackPlugin({
token: process.env.BUNDLE_ANALYZER_TOKEN,