Skip to content

Commit 6ff347d

Browse files
committed
Fix sentry webpack
1 parent 36f50c6 commit 6ff347d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webpack.main.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ if (process.env.NODE_ENV === "production") {
149149

150150
if ( process.env.SENTRY_AUTH_TOKEN && !process.env.DISABLE_SENTRY ) {
151151
mainConfig.plugins.push(
152-
new sentryWebpackPlugin({
152+
sentryWebpackPlugin({
153153
include: "src",
154154
ignoreFile: ".sentrycliignore",
155155
ignore: ["node_modules", "webpack.config.js", "webpack.main.config.js", "webpack.renderer.config.js"],

webpack.renderer.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ if (process.env.NODE_ENV === "production") {
166166

167167
if ( process.env.SENTRY_AUTH_TOKEN && !process.env.DISABLE_SENTRY ) {
168168
rendererConfig.plugins.push(
169-
new sentryWebpackPlugin({
169+
sentryWebpackPlugin({
170170
include: "src",
171171
ignoreFile: ".sentrycliignore",
172172
ignore: ["node_modules", "webpack.config.js", "webpack.main.config.js", "webpack.renderer.config.js"],

0 commit comments

Comments
 (0)