rollup-plugin-esbuild
Advanced tools
Comparing version 4.8.1 to 4.8.2
@@ -148,3 +148,3 @@ var __create = Object.create; | ||
var import_esbuild3 = __toModule(require("esbuild")); | ||
var import_es_module_lexer = __toModule(require("es-module-lexer")); | ||
var esModuleLexer = __toModule(require("es-module-lexer")); | ||
var slash = (p) => p.replace(/\\/g, "/"); | ||
@@ -155,3 +155,3 @@ var optimizeDeps = async (options) => { | ||
await import_fs2.default.promises.mkdir(cacheDir, { recursive: true }); | ||
await import_es_module_lexer.default.init; | ||
await esModuleLexer.init; | ||
const result = await (0, import_esbuild3.build)(__spreadProps(__spreadValues({ | ||
@@ -204,3 +204,3 @@ entryPoints: options.include, | ||
const contents = await import_fs2.default.promises.readFile(absolute, "utf-8"); | ||
const [, exported] = import_es_module_lexer.default.parse(contents); | ||
const [, exported] = esModuleLexer.parse(contents); | ||
return { | ||
@@ -207,0 +207,0 @@ contents: exported.length > 0 ? `export * from '${slash(absolute)}'` : `module.exports = require('${slash(absolute)}')`, |
{ | ||
"name": "rollup-plugin-esbuild", | ||
"version": "4.8.1", | ||
"version": "4.8.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is not supported yet
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
699
29301