-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[breaking] graduate @sveltejs/kit/vite
from experimental and require vite.config.js
#5332
Conversation
🦋 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
- Create vite.config.js now required from sveltejs/kit#5332
- Create vite.config.js now required from sveltejs/kit#5332
- Create vite.config.js now required from sveltejs/kit#5332 - Add .npmrc
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 !!! |
- Create vite.config.js now required from sveltejs/kit#5332 - Add .npmrc
- Create vite.config.js now required from sveltejs/kit#5332 - Add .npmrc
Closes #5184
Closes #5308
Closes #5335
Closes #5312