🔧 do not fail build in PacktrackerPlugin

This commit is contained in:
afc163 2020-03-03 15:02:30 +08:00
parent f287708db5
commit 30a3c327ae

View File

@ -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),
}),
);