@sentry/bundler-plugin-core 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +5 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +5 -3
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/options-mapping.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/cjs/index.js
CHANGED
|
@@ -8111,7 +8111,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
8111
8111
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
8112
8112
|
tracesSampleRate: 1,
|
|
8113
8113
|
sampleRate: 1,
|
|
8114
|
-
release: "3.
|
|
8114
|
+
release: "3.1.0",
|
|
8115
8115
|
integrations: [],
|
|
8116
8116
|
tracePropagationTargets: ["sentry.io/api"],
|
|
8117
8117
|
stackParser: stackParser,
|
|
@@ -9147,7 +9147,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
9147
9147
|
});
|
|
9148
9148
|
|
|
9149
9149
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
9150
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "3.
|
|
9150
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "3.1.0");
|
|
9151
9151
|
function handleRecoverableError(unknownError) {
|
|
9152
9152
|
sentrySession.status = "abnormal";
|
|
9153
9153
|
try {
|
|
@@ -9332,6 +9332,8 @@ function sentryUnpluginFactory(_ref) {
|
|
|
9332
9332
|
logger.warn("No project provided. Will not upload source maps. Please set the `project` option to your Sentry project slug.");
|
|
9333
9333
|
} else {
|
|
9334
9334
|
var _options$sourcemaps3, _options$sourcemaps4, _options$sourcemaps5;
|
|
9335
|
+
// This option is only strongly typed for the webpack plugin, where it is used. It has no effect on other plugins
|
|
9336
|
+
var _webpack_forceExitOnBuildComplete = typeof options._experiments["forceExitOnBuildCompletion"] === "boolean" ? options._experiments["forceExitOnBuildCompletion"] : undefined;
|
|
9335
9337
|
plugins.push(debugIdUploadPlugin(createDebugIdUploadFunction({
|
|
9336
9338
|
assets: (_options$sourcemaps3 = options.sourcemaps) === null || _options$sourcemaps3 === void 0 ? void 0 : _options$sourcemaps3.assets,
|
|
9337
9339
|
ignore: (_options$sourcemaps4 = options.sourcemaps) === null || _options$sourcemaps4 === void 0 ? void 0 : _options$sourcemaps4.ignore,
|
|
@@ -9352,7 +9354,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
9352
9354
|
vcsRemote: options.release.vcsRemote,
|
|
9353
9355
|
headers: options.headers
|
|
9354
9356
|
}
|
|
9355
|
-
}), logger));
|
|
9357
|
+
}), logger, _webpack_forceExitOnBuildComplete));
|
|
9356
9358
|
}
|
|
9357
9359
|
if (options.reactComponentAnnotation) {
|
|
9358
9360
|
if (!options.reactComponentAnnotation.enabled) {
|