Skip to content

Commit

Permalink
perf: πŸ†™ upgrade to omit.js@2.0.2 (ant-design#25507)
Browse files Browse the repository at this point in the history
* πŸ†™ upgrade to omit.js@2.0.2

* remove unused dep

* fix ci

* πŸ†™ upgrade rc-mentions
  • Loading branch information
afc163 authored Jul 8, 2020
1 parent 0b72717 commit 71447da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
6 changes: 4 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 71447da

Please sign in to comment.