ci: tweak Codecov webpack plugin config

Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
pull/52179/head
Spencer Murray 1 year ago
parent 41764b9c09
commit cb4e76060d
No known key found for this signature in database
GPG Key ID: 86F0F56E99B25932
  1. 9
      webpack.common.js

@ -226,11 +226,10 @@ const config = {
resourceRegExp: /^\.\/locale$/,
contextRegExp: /moment\/min$/,
}),
codecovWebpackPlugin({
enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
bundleName: 'nextcloud',
uploadToken: process.env.CODECOV_TOKEN
})
codecovWebpackPlugin({
enableBundleAnalysis: !isDev,
bundleName: 'nextcloud',
}),
],
externals: {
OC: 'OC',

Loading…
Cancel
Save