@sentry/webpack-plugin 2.3.0 → 2.4.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/README.md +33 -29
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -57,34 +57,34 @@ module.exports = {
|
|
|
57
57
|
|
|
58
58
|
## Options
|
|
59
59
|
|
|
60
|
-
- [`org`](#
|
|
61
|
-
- [`project`](#
|
|
62
|
-
- [`authToken`](#
|
|
63
|
-
- [`url`](#
|
|
64
|
-
- [`headers`](#
|
|
65
|
-
- [`debug`](#
|
|
66
|
-
- [`silent`](#
|
|
67
|
-
- [`errorHandler`](#
|
|
68
|
-
- [`telemetry`](#
|
|
69
|
-
- [`disable`](#
|
|
70
|
-
- [`sourcemaps`](#
|
|
71
|
-
- [`assets`](#
|
|
72
|
-
- [`ignore`](#
|
|
73
|
-
- [`rewriteSources`](#
|
|
74
|
-
- [`filesToDeleteAfterUpload`](#
|
|
75
|
-
- [`release`](#
|
|
76
|
-
- [`name`](#
|
|
77
|
-
- [`inject`](#
|
|
78
|
-
- [`create`](#
|
|
79
|
-
- [`finalize`](#
|
|
80
|
-
- [`dist`](#
|
|
81
|
-
- [`vcsRemote`](#
|
|
82
|
-
- [`setCommits`](#
|
|
83
|
-
- [`deploy`](#
|
|
84
|
-
- [`cleanArtifacts`](#
|
|
85
|
-
- [`uploadLegacySourcemaps`](#
|
|
86
|
-
- [`_experiments`](#
|
|
87
|
-
- [`injectBuildInformation`](#
|
|
60
|
+
- [`org`](#org)
|
|
61
|
+
- [`project`](#project)
|
|
62
|
+
- [`authToken`](#authtoken)
|
|
63
|
+
- [`url`](#url)
|
|
64
|
+
- [`headers`](#headers)
|
|
65
|
+
- [`debug`](#debug)
|
|
66
|
+
- [`silent`](#silent)
|
|
67
|
+
- [`errorHandler`](#errorhandler)
|
|
68
|
+
- [`telemetry`](#telemetry)
|
|
69
|
+
- [`disable`](#disable)
|
|
70
|
+
- [`sourcemaps`](#sourcemaps)
|
|
71
|
+
- [`assets`](#sourcemapsassets)
|
|
72
|
+
- [`ignore`](#sourcemapsignore)
|
|
73
|
+
- [`rewriteSources`](#sourcemapsrewritesources)
|
|
74
|
+
- [`filesToDeleteAfterUpload`](#sourcemapsfilestodeleteafterupload)
|
|
75
|
+
- [`release`](#release)
|
|
76
|
+
- [`name`](#releasename)
|
|
77
|
+
- [`inject`](#releaseinject)
|
|
78
|
+
- [`create`](#releasecreate)
|
|
79
|
+
- [`finalize`](#releasefinalize)
|
|
80
|
+
- [`dist`](#releasedist)
|
|
81
|
+
- [`vcsRemote`](#releasevcsremote)
|
|
82
|
+
- [`setCommits`](#releasesetcommits)
|
|
83
|
+
- [`deploy`](#releasedeploy)
|
|
84
|
+
- [`cleanArtifacts`](#releasecleanartifacts)
|
|
85
|
+
- [`uploadLegacySourcemaps`](#releaseuploadlegacysourcemaps)
|
|
86
|
+
- [`_experiments`](#_experiments)
|
|
87
|
+
- [`injectBuildInformation`](#_experimentsinjectbuildinformation)
|
|
88
88
|
|
|
89
89
|
### `org`
|
|
90
90
|
|
|
@@ -140,7 +140,7 @@ Suppresses all logs. Defaults to `false`.
|
|
|
140
140
|
|
|
141
141
|
Type: `(err: Error) => void`
|
|
142
142
|
|
|
143
|
-
When an error occurs during
|
|
143
|
+
When an error occurs during release creation or sourcemaps upload, the plugin will call this function.
|
|
144
144
|
|
|
145
145
|
By default, the plugin will simply throw an error, thereby stopping the bundling process. If an `errorHandler` callback is provided, compilation will continue, unless an error is thrown in the provided callback.
|
|
146
146
|
|
|
@@ -494,6 +494,10 @@ Defaults to `false`.
|
|
|
494
494
|
|
|
495
495
|
|
|
496
496
|
|
|
497
|
+
### Configuration File
|
|
498
|
+
|
|
499
|
+
As an additional configuration method, the Sentry Webpack plugin will pick up environment variables configured inside a `.env.sentry-build-plugin` file located in the current working directory when building your app.
|
|
500
|
+
|
|
497
501
|
## More information
|
|
498
502
|
|
|
499
503
|
- [Sentry Documentation](https://docs.sentry.io/quickstart/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/webpack-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Official Sentry Webpack plugin",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/webpack-plugin",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"prepack": "ts-node ./src/prepack.ts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@sentry/bundler-plugin-core": "2.
|
|
51
|
+
"@sentry/bundler-plugin-core": "2.4.0",
|
|
52
52
|
"unplugin": "1.0.1",
|
|
53
53
|
"uuid": "^9.0.0"
|
|
54
54
|
},
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@babel/preset-typescript": "7.17.12",
|
|
59
59
|
"@rollup/plugin-babel": "5.3.1",
|
|
60
60
|
"@rollup/plugin-commonjs": "22.0.1",
|
|
61
|
-
"@sentry-internal/eslint-config": "2.
|
|
62
|
-
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.
|
|
61
|
+
"@sentry-internal/eslint-config": "2.4.0",
|
|
62
|
+
"@sentry-internal/sentry-bundler-plugin-tsconfig": "2.4.0",
|
|
63
63
|
"@swc/core": "^1.2.205",
|
|
64
64
|
"@swc/jest": "^0.2.21",
|
|
65
65
|
"@types/jest": "^28.1.3",
|
|
@@ -81,6 +81,6 @@
|
|
|
81
81
|
"extends": "../../package.json"
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|
|
84
|
-
"node": ">=
|
|
84
|
+
"node": ">= 14"
|
|
85
85
|
}
|
|
86
86
|
}
|