Add sentry webpack plugin

This commit is contained in:
Ramon Wenger 2023-03-30 17:09:45 +02:00
parent 353d430a3a
commit 7ce0533749
1 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,12 @@ const webpackConfig = merge(baseWebpackConfig, {
minimizer: [new CssMinimizerPlugin()],
},
plugins: [
new SentryWebpackPlugin({
org: 'iterativ',
project: 'skillbox-vue',
include: config.build.assetsRoot,
authToken: process.env.SENTRY_AUTH_TOKEN,
}),
// http://vuejs.github.io/vue-loader/en/workflow/production.html
new webpack.DefinePlugin({
'process.env': env,