Skip to content

Commit 5d04204

Browse files
committed
feat(types): Update disbable in BuildTimeOptionsBase type
1 parent 42c37d7 commit 5d04204

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

packages/core/src/build-time-plugins/buildTimeOptionsBase.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,12 @@ interface SourceMapsOptions {
205205
*
206206
* By default (`false`), the plugin automatically uploads source maps during a production build if a Sentry auth token is detected.
207207
*
208+
* If set to `"disable-upload"`, the plugin will not upload source maps to Sentry, but will inject debug IDs into the build artifacts.
209+
* This is useful if you want to manually upload source maps to Sentry at a later point in time.
210+
*
208211
* @default false
209212
*/
210-
disable?: boolean;
213+
disable?: boolean | 'disable-upload';
211214

212215
/**
213216
* A glob or an array of globs that specify the build artifacts and source maps that will be uploaded to Sentry.

packages/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@sentry/core": "10.4.0",
5353
"@sentry/node": "10.4.0",
5454
"@sentry/rollup-plugin": "^4.1.0",
55-
"@sentry/vite-plugin": "^4.0.0",
55+
"@sentry/vite-plugin": "^4.1.0",
5656
"@sentry/vue": "10.4.0"
5757
},
5858
"devDependencies": {

yarn.lock

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7061,6 +7061,14 @@
70617061
"@sentry/bundler-plugin-core" "4.0.0"
70627062
unplugin "1.0.1"
70637063

7064+
"@sentry/vite-plugin@^4.1.0":
7065+
version "4.1.0"
7066+
resolved "https://registry.yarnpkg.com/@sentry/vite-plugin/-/vite-plugin-4.1.0.tgz#a94eaf2a294b9f16dec99b088cb05d37b364dcf5"
7067+
integrity sha512-uLZxOAW79sOQH77yWiQct8f3i+LUi36wn2fK62cejZfrGaHu5P+9R4f0Es1L70I3MrsPXOvJ0A6r5PkVS9562g==
7068+
dependencies:
7069+
"@sentry/bundler-plugin-core" "4.1.0"
7070+
unplugin "1.0.1"
7071+
70647072
"@sentry/webpack-plugin@^4.0.2":
70657073
version "4.0.2"
70667074
resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-4.0.2.tgz#be90c73145d8001bc72c73e4eab83d2b1a28d330"
@@ -28586,7 +28594,6 @@ [email protected], stylus@^0.59.0:
2858628594

2858728595
sucrase@^3.27.0, sucrase@^3.35.0, sucrase@getsentry/sucrase#es2020-polyfills:
2858828596
version "3.36.0"
28589-
uid fd682f6129e507c00bb4e6319cc5d6b767e36061
2859028597
resolved "https://codeload.github.com/getsentry/sucrase/tar.gz/fd682f6129e507c00bb4e6319cc5d6b767e36061"
2859128598
dependencies:
2859228599
"@jridgewell/gen-mapping" "^0.3.2"

0 commit comments

Comments
 (0)