@sveltejs/vite-plugin-svelte 3.1.1 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/log.js +6 -3
package/package.json
CHANGED
package/src/utils/log.js
CHANGED
|
@@ -262,7 +262,10 @@ export function isDebugNamespaceEnabled(namespace) {
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
export function logSvelte5Warning() {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
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:
|
|
269
|
+
"overrides": {"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6"}`.replace(/\n\s*/gm, '\n\t')
|
|
270
|
+
);
|
|
268
271
|
}
|