Update webpack.config.js

This commit is contained in:
Michael Telatynski 2024-01-22 08:49:32 +00:00 committed by GitHub
parent 3867576137
commit 5dd1ed9aac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -707,7 +707,7 @@ module.exports = (env, argv) => {
}),
// Upload to sentry if sentry env is present
// This plugin fails to import on some platforms like ppc64le & s390x even if the plugin isn't called,
// This plugin throws an error on import on some platforms like ppc64le & s390x even if the plugin isn't called,
// so we require it conditionally.
process.env.SENTRY_DSN &&
require("@sentry/webpack-plugin").sentryWebpackPlugin({