Update webpack.config.js
This commit is contained in:
parent
3867576137
commit
5dd1ed9aac
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue