Skip to content

Commit e1c1077

Browse files
authored
chore(e2e): Add vue and vue-router to nuxt-4 canary build step to fix rollup resolution (#20519)
This PR adds `vue` and `vue-router` to the `test:build-canary` script to work around a regression in nuxt-nightly's latest build (4.4.3) where rollup fails to resolve vue imports. This is a temporary workaround and should be removed once nuxt fixes this upstream: nuxt/nuxt#34888. Closes: #20515
1 parent 37c52cb commit e1c1077

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test:prod": "TEST_ENV=production playwright test",
1515
"test:dev": "bash ./nuxt-start-dev-server.bash && TEST_ENV=development playwright test environment",
1616
"test:build": "pnpm install && pnpm build",
17-
"test:build-canary": "pnpm add nuxt@npm:nuxt-nightly@latest && pnpm add nitropack@npm:nitropack-nightly@latest && pnpm install --force && pnpm build",
17+
"test:build-canary": "pnpm add nuxt@npm:nuxt-nightly@latest && pnpm add nitropack@npm:nitropack-nightly@latest && pnpm add vue vue-router && pnpm install --force && pnpm build",
1818
"test:assert": "pnpm test:prod && pnpm test:dev"
1919
},
2020
"dependencies": {

0 commit comments

Comments
 (0)