Browse Source

fix packtracker exclude_assets

pull/16984/head
afc163 6 years ago
parent
commit
014d32001c
No known key found for this signature in database GPG Key ID: 5F00908D72002306
  1. 2
      webpack.config.js

2
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'].includes(name),
exclude_assets: name => !['antd.min.js', 'antd.min.css'].includes(name),
}),
);
});

Loading…
Cancel
Save