fix packtracker exclude_assets

This commit is contained in:
afc163 2019-06-05 22:18:45 +08:00
parent 6295cb4597
commit 014d32001c
No known key found for this signature in database
GPG Key ID: 5F00908D72002306

View File

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