[breaking] graduate @sveltejs/kit/vite from experimental and require vite.config.js#5332
[breaking] graduate @sveltejs/kit/vite from experimental and require vite.config.js#5332Rich-Harris merged 52 commits intomasterfrom
@sveltejs/kit/vite from experimental and require vite.config.js#5332Conversation
🦋 Changeset detectedLatest commit: 12a03e2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@sveltejs/kit/vite from experimental and require vite.config.js
|
I can reproduce the hanging build locally with |
|
Alright, the problem was -cd ../../ && npx turbo run build --force --filter=kit --filter=kit.svelte.dev && cd sites/kit.svelte.dev
+cd ../../packages/kit && pnpm build && cd ../../sites/kit.svelte.dev && pnpm build |
|
Leaving a comment for others that are upgrading older projects (mine was a couple of months old). I followed the prescribed steps: 1) Install vite as a dev dependency, 2) Update my scripts, and 3) Create vite.config.js. My svelte.config.js file contained config information for vite (config.kit.vite). That entry kept the dev server from starting. Running the 'dev' script will give you an error: "config.kit.vite has been removed - use vite.config.js instead". I removed that entry and the dev server started up fine. Hope that helps somebody! |
|
Thank you @jeffkelleran !!! |
Closes #5184
Closes #5308
Closes #5335
Closes #5312