You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(logs): encourage svelte5 users to update from vps3 to vps4 (#964)
* chore(logs): encourage svelte5 users to update from vps3 to vps4
* chore(deps): bump deps to please audit
* Update packages/vite-plugin-svelte/src/utils/log.js
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* Update packages/vite-plugin-svelte/src/utils/log.js
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Copy file name to clipboardexpand all lines: packages/vite-plugin-svelte/src/utils/log.js
+6-3
Original file line number
Diff line number
Diff line change
@@ -262,7 +262,10 @@ export function isDebugNamespaceEnabled(namespace) {
262
262
}
263
263
264
264
exportfunctionlogSvelte5Warning(){
265
-
constnotice=`You are using Svelte ${VERSION}. Svelte 5 support is experimental, breaking changes can occur in any release until this notice is removed.`;
266
-
constwip=['svelte-inspector is disabled until dev mode implements node to code mapping'];
267
-
log.warn(`${notice}\nwork in progress:\n - ${wip.join('\n - ')}\n`);
265
+
log.warn(
266
+
`You are using Svelte ${VERSION} with vite-plugin-svelte@3. Active Svelte 5 support has moved to vite-plugin-svelte@4.
267
+
To receive bug fixes and new features update your devDependencies to "@sveltejs/vite-plugin-svelte": "^4.0.0-next.6" and install.
268
+
For framework integrations that depend on it, you might have to add an override:
0 commit comments