@sveltejs/vite-plugin-svelte
Advanced tools
Comparing version 4.0.0-next.5 to 4.0.0-next.6
{ | ||
"name": "@sveltejs/vite-plugin-svelte", | ||
"version": "4.0.0-next.5", | ||
"version": "4.0.0-next.6", | ||
"license": "MIT", | ||
@@ -43,3 +43,3 @@ "author": "dominikg", | ||
"kleur": "^4.1.5", | ||
"magic-string": "^0.30.10", | ||
"magic-string": "^0.30.11", | ||
"vitefu": "^0.2.5" | ||
@@ -55,3 +55,3 @@ }, | ||
"sass": "^1.77.8", | ||
"svelte": "^5.0.0-next.200", | ||
"svelte": "^5.0.0-next.210", | ||
"vite": "^5.3.5" | ||
@@ -58,0 +58,0 @@ }, |
@@ -73,8 +73,5 @@ import { readFileSync } from 'node:fs'; | ||
if (compileOptions.hmr) { | ||
if (options.emitCss) { | ||
const hash = `s-${safeBase64Hash(normalize(filename, options.root))}`; | ||
compileOptions.cssHash = () => hash; | ||
} | ||
compileOptions.hmr = false; | ||
if (compileOptions.hmr && options.emitCss) { | ||
const hash = `s-${safeBase64Hash(normalize(filename, options.root))}`; | ||
compileOptions.cssHash = () => hash; | ||
} | ||
@@ -81,0 +78,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123758
3717
Updatedmagic-string@^0.30.11