From 588d63f4057d0da33517e800d41b9cdcef7298a8 Mon Sep 17 00:00:00 2001 From: s1gr1d Date: Mon, 30 Jun 2025 09:56:23 +0200 Subject: [PATCH 1/2] test(nuxt): Use official Nuxt 4 version for E2E test --- dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts | 1 - dev-packages/e2e-tests/test-applications/nuxt-4/package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts b/dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts index ce3d681c963f..1f2cea7a430c 100644 --- a/dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts +++ b/dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts @@ -1,6 +1,5 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - future: { compatibilityVersion: 4 }, compatibilityDate: '2025-06-06', imports: { autoImport: false }, diff --git a/dev-packages/e2e-tests/test-applications/nuxt-4/package.json b/dev-packages/e2e-tests/test-applications/nuxt-4/package.json index 8e1074a04bc1..568b76483c02 100644 --- a/dev-packages/e2e-tests/test-applications/nuxt-4/package.json +++ b/dev-packages/e2e-tests/test-applications/nuxt-4/package.json @@ -18,7 +18,7 @@ "dependencies": { "@pinia/nuxt": "^0.5.5", "@sentry/nuxt": "latest || *", - "nuxt": "^3.17.5" + "nuxt": "^4.0.0-alpha.4" }, "devDependencies": { "@playwright/test": "~1.50.0", From 73309bbc2a9e927f22e75ac7998a4bfb04b58239 Mon Sep 17 00:00:00 2001 From: s1gr1d Date: Mon, 30 Jun 2025 14:19:22 +0200 Subject: [PATCH 2/2] remove external config from test --- .../e2e-tests/test-applications/nuxt-4/nuxt.config.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts b/dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts index 1f2cea7a430c..741d2d20706c 100644 --- a/dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts +++ b/dev-packages/e2e-tests/test-applications/nuxt-4/nuxt.config.ts @@ -12,10 +12,4 @@ export default defineNuxtConfig({ }, }, }, - nitro: { - rollupConfig: { - // @sentry/... is set external to prevent bundling all of Sentry into the `runtime.mjs` file in the build output - external: [/@sentry\/.*/], - }, - }, });