Skip to content

Commit

Permalink
revert sentry webpack version
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis committed Jun 6, 2024
1 parent c17f89d commit 3abc804
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 171 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@babel/plugin-proposal-do-expressions": "^7.24.1",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@electron/remote": "^2.0.1",
"@sentry/webpack-plugin": "^2.16.1",
"@sentry/webpack-plugin": "^1.18.3",
"@types/axios": "^0.14.0",
"@types/body-parser": "^1.19.0",
"@types/color-hash": "^1.0.0",
Expand Down
12 changes: 1 addition & 11 deletions client/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function chainWebpack(config) {
*/
'vtk.js': 'vtkjs',
});
if (process.env.SENTRY_AUTH_TOKEN) {
if (process.env.SENTRY_AUTH_TOKEN || true) {
config
.plugin('SentryPlugin')
.use(SentryPlugin, [{
Expand All @@ -33,16 +33,6 @@ function chainWebpack(config) {
release: process.env.VUE_APP_GIT_HASH
}]);
}
config.module
.rule('babel')
.test(/\.js$/)
.exclude.add(/node_modules/)
.end()
.use('babel-loader')
.loader('babel-loader')
.options({
presets: ['@babel/preset-env']
});
}

module.exports = {
Expand Down
Loading

0 comments on commit 3abc804

Please sign in to comment.