🔧 do not fail build in PacktrackerPlugin

pull/21818/head
afc163 5 years ago
parent f287708db5
commit 30a3c327ae

@ -49,7 +49,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
new PacktrackerPlugin({ new PacktrackerPlugin({
project_token: '30c6a021-96c0-4d67-8bd2-0d2fcbd8962b', project_token: '30c6a021-96c0-4d67-8bd2-0d2fcbd8962b',
upload: process.env.CI === 'true', upload: process.env.CI === 'true',
fail_build: true, fail_build: false,
exclude_assets: name => !['antd.min.js', 'antd.min.css'].includes(name), exclude_assets: name => !['antd.min.js', 'antd.min.css'].includes(name),
}), }),
new BundleAnalyzerPlugin({ new BundleAnalyzerPlugin({
@ -85,7 +85,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
new PacktrackerPlugin({ new PacktrackerPlugin({
project_token: '30c6a021-96c0-4d67-8bd2-0d2fcbd8962b', project_token: '30c6a021-96c0-4d67-8bd2-0d2fcbd8962b',
upload: process.env.CI === 'true', upload: process.env.CI === 'true',
fail_build: true, fail_build: false,
exclude_assets: name => !['antd.dark.min.js', 'antd.dark.min.css'].includes(name), exclude_assets: name => !['antd.dark.min.js', 'antd.dark.min.css'].includes(name),
}), }),
); );

Loading…
Cancel
Save