vega-frontend-monorepo/apps/explorer/webpack.config.js
botond d1c4924d66
fix: remove redundant env settings from explorer (#732)
* fix: remove redundant env settings from explorer

* fix: format
2022-07-08 15:23:28 +01:00

18 lines
391 B
JavaScript

const SentryPlugin = require('@sentry/webpack-plugin');
module.exports = (config, context) => {
const additionalPlugins = process.env.SENTRY_AUTH_TOKEN
? [
new SentryPlugin({
include: './dist/apps/explorer',
project: 'block-explorer',
}),
]
: [];
return {
...config,
plugins: [...additionalPlugins, ...config.plugins],
};
};