usuyuki / portfolio_2023_spring

6代目ポートフォリオ(うすゆきどっとねっと)です。SvelteKit製。
https://usuyuki.net
2 stars 0 forks source link

refactor Svelte v4とSvelteKit v2のバージョンアップ #59

Closed usuyuki closed 4 months ago

usuyuki commented 4 months ago

やったこと

各種バージョンアップ

https://kit.svelte.dev/docs/migrating-to-sveltekit-2

https://svelte.dev/docs/v4-migration-guide

https://developers.cloudflare.com/workers/wrangler/migration/update-v2-to-v3/

備考

スクリーンショット(任意)

usuyuki commented 4 months ago

結合テストがSvelteのバージョンをv4にしたタイミングから壊れる。 E2Eは動いている。

エラー内容

Error: [vite]: Rollup failed to resolve import "/playwright/ind
ex.ts" from "/home/usuyuki/hobby_space/portfolio_2023_spring/pl
aywright/index.html".
This is most likely unintended because it can break your applic
ation at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external` 
usuyuki commented 4 months ago

一旦マージする