@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/utils/log.js +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/vite-plugin-svelte",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "license": "MIT",
5
5
  "author": "dominikg",
6
6
  "files": [
package/src/utils/log.js CHANGED
@@ -262,7 +262,10 @@ export function isDebugNamespaceEnabled(namespace) {
262
262
  }
263
263
 
264
264
  export function logSvelte5Warning() {
265
- const notice = `You are using Svelte ${VERSION}. Svelte 5 support is experimental, breaking changes can occur in any release until this notice is removed.`;
266
- const wip = ['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:
269
+ "overrides": {"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6"}`.replace(/\n\s*/gm, '\n\t')
270
+ );
268
271
  }