Skip to content

Commit addd100

Browse files
committed
fingers crossed
1 parent 08756c8 commit addd100

File tree

6 files changed

+16
-2
lines changed

6 files changed

+16
-2
lines changed

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-3/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"dev": "nuxt dev",
88
"generate": "nuxt generate",
99
"preview": "nuxt preview",
10+
"start": "node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs",
1011
"clean": "npx nuxi cleanup",
1112
"test": "playwright test",
1213
"test:build": "pnpm install && npx playwright install && pnpm build",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const nuxtConfigOptions: ConfigOptions = {
1212
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
1313

1414
const config = getPlaywrightConfig({
15-
startCommand: `pnpm preview`,
15+
startCommand: `pnpm start`,
1616
use: { ...nuxtConfigOptions },
1717
});
1818

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
});

dev-packages/e2e-tests/test-applications/nuxt-4/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"dev": "nuxt dev",
88
"generate": "nuxt generate",
99
"preview": "nuxt preview",
10+
"start": "node --import ./.output/server/sentry.server.config.mjs .output/server/index.mjs",
1011
"clean": "npx nuxi cleanup",
1112
"test": "playwright test",
1213
"test:build": "pnpm install && npx playwright install && pnpm build",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const nuxtConfigOptions: ConfigOptions = {
1212
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
1313

1414
const config = getPlaywrightConfig({
15-
startCommand: `pnpm preview`,
15+
startCommand: `pnpm start`,
1616
use: { ...nuxtConfigOptions },
1717
});
1818

0 commit comments

Comments
 (0)