vega-frontend-monorepo/apps/multisig-signer/webpack.config.js

18 lines
399 B
JavaScript
Raw Normal View History

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