Skip to content

Commit a042a35

Browse files
committed
Revert nitro config updates
1 parent 28fb5e4 commit a042a35

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

dev-packages/e2e-tests/test-applications/nuxt-3-dynamic-import/nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ export default defineNuxtConfig({
1111
},
1212
},
1313
},
14+
nitro: {
15+
rollupConfig: {
16+
// @sentry/... is set external to prevent bundling all of Sentry into the `runtime.mjs` file in the build output
17+
external: [/@sentry\/.*/],
18+
},
19+
},
1420
sentry: {
1521
autoInjectServerSentry: 'experimental_dynamic-import',
1622
},

dev-packages/e2e-tests/test-applications/nuxt-3-min/nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@ export default defineNuxtConfig({
1111
},
1212
},
1313
},
14+
nitro: {
15+
rollupConfig: {
16+
// @sentry/... is set external to prevent bundling all of Sentry into the `runtime.mjs` file in the build output
17+
external: [/@sentry\/.*/],
18+
},
19+
},
1420
});

dev-packages/e2e-tests/test-applications/nuxt-3-top-level-import/nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ export default defineNuxtConfig({
1111
},
1212
},
1313
},
14+
nitro: {
15+
rollupConfig: {
16+
// @sentry/... is set external to prevent bundling all of Sentry into the `runtime.mjs` file in the build output
17+
external: [/@sentry\/.*/],
18+
},
19+
},
1420
sentry: {
1521
autoInjectServerSentry: 'top-level-import',
1622
},

dev-packages/e2e-tests/test-applications/nuxt-3/nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@ export default defineNuxtConfig({
1111
},
1212
},
1313
},
14+
nitro: {
15+
rollupConfig: {
16+
// @sentry/... is set external to prevent bundling all of Sentry into the `runtime.mjs` file in the build output
17+
external: [/@sentry\/.*/],
18+
},
19+
},
1420
});

dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,10 @@ export default defineNuxtConfig({
1313
},
1414
},
1515
},
16+
nitro: {
17+
rollupConfig: {
18+
// @sentry/... is set external to prevent bundling all of Sentry into the `runtime.mjs` file in the build output
19+
external: [/@sentry\/.*/],
20+
},
21+
},
1622
});

0 commit comments

Comments
 (0)