Skip to content

Commit 1fb74b7

Browse files
committed
Update to the latest Sentry version
1 parent 8f81cf4 commit 1fb74b7

File tree

5 files changed

+990
-241
lines changed

5 files changed

+990
-241
lines changed

automation/webpack.prod.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as path from 'path';
22
import merge from "webpack-merge";
3-
import SentryPlugin from '@sentry/webpack-plugin';
3+
import * as SentryPlugin from '@sentry/webpack-plugin';
44

55
import { InjectManifest } from 'workbox-webpack-plugin';
66
import * as ssri from "ssri";
@@ -95,10 +95,11 @@ export default merge(common, {
9595
}),
9696
...(shouldPublishSentryRelease
9797
? [
98-
new SentryPlugin({
99-
release: process.env.UI_VERSION,
100-
include: common!.output!.path!,
101-
validate: true
98+
SentryPlugin.sentryWebpackPlugin({
99+
release: {
100+
name: process.env.UI_VERSION!,
101+
setCommits: { auto: true }
102+
}
102103
})
103104
]
104105
: []),

0 commit comments

Comments
 (0)