vite-plugin-fast-external
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -13,3 +13,4 @@ const resolve = require('vite-plugin-resolve'); | ||
if (typeof strOrFn === 'string') { | ||
externals[moduleId] = `const ${moduleId} = window['${/* iife name */strOrFn}']; export { ${moduleId} as default }`; | ||
const iifeName = strOrFn; | ||
externals[moduleId] = `const ${iifeName} = window['${iifeName}']; export { ${iifeName} as default }`; | ||
} | ||
@@ -16,0 +17,0 @@ } |
{ | ||
"name": "vite-plugin-fast-external", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "Without lexical transform, support custom external code.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
7589
47