ci: tweak Codecov webpack plugin config

Signed-off-by: Spencer Murray <spencer.murray@sentry.io>
This commit is contained in:
Spencer Murray 2025-04-14 10:02:11 -04:00
parent 41764b9c09
commit cb4e76060d
No known key found for this signature in database
GPG key ID: 86F0F56E99B25932

View file

@ -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',