From 30a3c327ae036d9b64425e36f126032917bd2126 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 3 Mar 2020 15:02:30 +0800 Subject: [PATCH] :wrench: do not fail build in PacktrackerPlugin --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 75fe7d0a00..a70fb83a8e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -49,7 +49,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') { new PacktrackerPlugin({ project_token: '30c6a021-96c0-4d67-8bd2-0d2fcbd8962b', upload: process.env.CI === 'true', - fail_build: true, + fail_build: false, exclude_assets: name => !['antd.min.js', 'antd.min.css'].includes(name), }), new BundleAnalyzerPlugin({ @@ -85,7 +85,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') { new PacktrackerPlugin({ project_token: '30c6a021-96c0-4d67-8bd2-0d2fcbd8962b', upload: process.env.CI === 'true', - fail_build: true, + fail_build: false, exclude_assets: name => !['antd.dark.min.js', 'antd.dark.min.css'].includes(name), }), );