File tree Expand file tree Collapse file tree 6 files changed +16
-2
lines changed
dev-packages/e2e-tests/test-applications Expand file tree Collapse file tree 6 files changed +16
-2
lines changed Original file line number Diff line number Diff 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 : [ / @ s e n t r y \/ .* / ] ,
18+ } ,
19+ } ,
1420} ) ;
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const nuxtConfigOptions: ConfigOptions = {
1212 * Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
1313
1414const config = getPlaywrightConfig ( {
15- startCommand : `pnpm preview ` ,
15+ startCommand : `pnpm start ` ,
1616 use : { ...nuxtConfigOptions } ,
1717} ) ;
1818
Original file line number Diff line number Diff 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 : [ / @ s e n t r y \/ .* / ] ,
20+ } ,
21+ } ,
1622} ) ;
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const nuxtConfigOptions: ConfigOptions = {
1212 * Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
1313
1414const config = getPlaywrightConfig ( {
15- startCommand : `pnpm preview ` ,
15+ startCommand : `pnpm start ` ,
1616 use : { ...nuxtConfigOptions } ,
1717} ) ;
1818
You can’t perform that action at this time.
0 commit comments