@sentry/webpack-plugin
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -164,3 +164,3 @@ 'use strict'; | ||
} | ||
function webpackDebugIdUploadPlugin(upload, logger) { | ||
function webpackDebugIdUploadPlugin(upload, logger, forceExitOnBuildCompletion) { | ||
var pluginName = "sentry-webpack-debug-id-upload-plugin"; | ||
@@ -181,3 +181,3 @@ return { | ||
}); | ||
if (compiler.options.mode === "production") { | ||
if (forceExitOnBuildCompletion && compiler.options.mode === "production") { | ||
compiler.hooks.done.tap(pluginName, function () { | ||
@@ -225,3 +225,2 @@ setTimeout(function () { | ||
}); | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
@@ -228,0 +227,0 @@ var sentryWebpackPlugin = sentryUnplugin.webpack; |
import { Options } from "@sentry/bundler-plugin-core"; | ||
export declare const sentryWebpackPlugin: (options?: Options) => any; | ||
type SentryWebpackPluginOptions = Options & { | ||
_experiments?: Options["_experiments"] & { | ||
/** | ||
* If enabled, the webpack plugin will exit the build process after the build completes. | ||
* Use this with caution, as it will terminate the process. | ||
* | ||
* More information: https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/345 | ||
* | ||
* @default false | ||
*/ | ||
forceExitOnBuildCompletion?: boolean; | ||
}; | ||
}; | ||
export declare const sentryWebpackPlugin: (options?: SentryWebpackPluginOptions) => any; | ||
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core"; | ||
export type { Options as SentryWebpackPluginOptions } from "@sentry/bundler-plugin-core"; | ||
export type { SentryWebpackPluginOptions }; |
{ | ||
"name": "@sentry/webpack-plugin", | ||
"version": "3.0.0", | ||
"version": "3.1.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": "3.0.0", | ||
"@sentry/bundler-plugin-core": "3.1.0", | ||
"unplugin": "1.0.1", | ||
@@ -62,4 +62,4 @@ "uuid": "^9.0.0" | ||
"@rollup/plugin-commonjs": "22.0.1", | ||
"@sentry-internal/eslint-config": "3.0.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "3.0.0", | ||
"@sentry-internal/eslint-config": "3.1.0", | ||
"@sentry-internal/sentry-bundler-plugin-tsconfig": "3.1.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
78950
450
+ Added@sentry/babel-plugin-component-annotate@3.1.0(transitive)
+ Added@sentry/bundler-plugin-core@3.1.0(transitive)
- Removed@sentry/babel-plugin-component-annotate@3.0.0(transitive)
- Removed@sentry/bundler-plugin-core@3.0.0(transitive)