rollup-plugin-svelte
Advanced tools
Comparing version 7.2.1 to 7.2.2
@@ -20,2 +20,4 @@ const path = require('path'); | ||
const svelte_module_regex = /\.svelte(\.[^./\\]+)*\.(js|ts)$/; | ||
let warned = false; | ||
@@ -134,3 +136,3 @@ | ||
if (majorVersion > 4 && (id.endsWith('.svelte.js') || id.endsWith('.svelte.ts'))) { | ||
if (majorVersion > 4 && svelte_module_regex.test(id)) { | ||
const compiled = svelte.compileModule(code, { | ||
@@ -137,0 +139,0 @@ filename: id, |
{ | ||
"version": "7.2.1", | ||
"version": "7.2.2", | ||
"name": "rollup-plugin-svelte", | ||
@@ -4,0 +4,0 @@ "description": "Compile Svelte components with Rollup", |
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
15322
193