diff --git a/webpack.config.js b/webpack.config.js index b4b831474b..3fc3b4749a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -42,7 +42,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') { project_token: '8adbb892-ee4a-4d6f-93bb-a03219fb6778', upload: process.env.CI === 'true', fail_build: true, - exclude_assets: name => ['antd.min.js', 'antd.min.css'].contains(name), + exclude_assets: name => ['antd.min.js', 'antd.min.css'].includes(name), }), ); });