rollup-plugin-esbuild
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -30,11 +30,8 @@ "use strict"; | ||
const exists = fs_1.existsSync(resolved); | ||
if (!exists && fs_1.existsSync(`${resolved}.jsx`)) { | ||
return `${resolved}.jsx`; | ||
for (const loader of loaders) { | ||
const file = `${resolved}.${loader}`; | ||
if (!exists && fs_1.existsSync(file)) { | ||
return file; | ||
} | ||
} | ||
if (!exists && fs_1.existsSync(`${resolved}.ts`)) { | ||
return `${resolved}.ts`; | ||
} | ||
if (!exists && fs_1.existsSync(`${resolved}.tsx`)) { | ||
return `${resolved}.tsx`; | ||
} | ||
} | ||
@@ -41,0 +38,0 @@ }, |
{ | ||
"name": "rollup-plugin-esbuild", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
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
6393
110