@sentry/webpack-plugin
Advanced tools
Comparing version
@@ -164,3 +164,3 @@ 'use strict'; | ||
} | ||
function webpackDebugIdUploadPlugin(upload) { | ||
function webpackDebugIdUploadPlugin(upload, logger) { | ||
var pluginName = "sentry-webpack-debug-id-upload-plugin"; | ||
@@ -181,2 +181,10 @@ return { | ||
}); | ||
if (compiler.options.mode === "production") { | ||
compiler.hooks.done.tap(pluginName, function () { | ||
setTimeout(function () { | ||
logger.debug("Exiting process after debug file upload"); | ||
process.exit(0); | ||
}); | ||
}); | ||
} | ||
} | ||
@@ -183,0 +191,0 @@ }; |
{ | ||
"name": "@sentry/webpack-plugin", | ||
"version": "2.23.0", | ||
"version": "3.0.0", | ||
"description": "Official Sentry Webpack plugin", | ||
@@ -51,3 +51,3 @@ "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git", | ||
"dependencies": { | ||
"@sentry/bundler-plugin-core": "2.23.0", | ||
"@sentry/bundler-plugin-core": "3.0.0", | ||
"unplugin": "1.0.1", | ||
@@ -62,4 +62,4 @@ "uuid": "^9.0.0" | ||
"@rollup/plugin-commonjs": "22.0.1", | ||
"@sentry-internal/eslint-config": "2.23.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.23.0", | ||
"@sentry-internal/eslint-config": "3.0.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "3.0.0", | ||
"@swc/core": "^1.2.205", | ||
@@ -66,0 +66,0 @@ "@swc/jest": "^0.2.21", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
77244
2.61%437
3.8%+ Added
+ Added
- Removed
- Removed