Browse Source

🔧 do not fail build in PacktrackerPlugin

pull/21818/head
afc163 5 years ago
parent
commit
30a3c327ae
  1. 4
      webpack.config.js

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

Loading…
Cancel
Save