@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.
Files changed (2) hide show
  1. package/README.md +33 -29
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -57,34 +57,34 @@ module.exports = {
57
57
 
58
58
  ## Options
59
59
 
60
- - [`org`](#optionorg)
61
- - [`project`](#optionproject)
62
- - [`authToken`](#optionauthtoken)
63
- - [`url`](#optionurl)
64
- - [`headers`](#optionheaders)
65
- - [`debug`](#optiondebug)
66
- - [`silent`](#optionsilent)
67
- - [`errorHandler`](#optionerrorhandler)
68
- - [`telemetry`](#optiontelemetry)
69
- - [`disable`](#optiondisable)
70
- - [`sourcemaps`](#optionsourcemaps)
71
- - [`assets`](#optionsourcemapsassets)
72
- - [`ignore`](#optionsourcemapsignore)
73
- - [`rewriteSources`](#optionsourcemapsrewritesources)
74
- - [`filesToDeleteAfterUpload`](#optionsourcemapsfilestodeleteafterupload)
75
- - [`release`](#optionrelease)
76
- - [`name`](#optionreleasename)
77
- - [`inject`](#optionreleaseinject)
78
- - [`create`](#optionreleasecreate)
79
- - [`finalize`](#optionreleasefinalize)
80
- - [`dist`](#optionreleasedist)
81
- - [`vcsRemote`](#optionreleasevcsremote)
82
- - [`setCommits`](#optionreleasesetcommits)
83
- - [`deploy`](#optionreleasedeploy)
84
- - [`cleanArtifacts`](#optionreleasecleanartifacts)
85
- - [`uploadLegacySourcemaps`](#optionreleaseuploadlegacysourcemaps)
86
- - [`_experiments`](#option_experiments)
87
- - [`injectBuildInformation`](#option_experimentsinjectbuildinformation)
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 rlease creation or sourcemaps upload, the plugin will call this function.
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.0",
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.3.0",
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.3.0",
62
- "@sentry-internal/sentry-bundler-plugin-tsconfig": "2.3.0",
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": ">= 10"
84
+ "node": ">= 14"
85
85
  }
86
86
  }