@chialab/esbuild-plugin-meta-url
Advanced tools
Comparing version 0.17.5 to 0.17.6
@@ -217,3 +217,3 @@ import path from 'path'; | ||
const { outputFiles } = await build.emitChunk({ | ||
path: `./${entryPoint}`, | ||
path: `./${path.relative(workingDir, resolvedPath)}`, | ||
write: false, | ||
@@ -245,3 +245,3 @@ }); | ||
helpers.overwrite(startToken.start, endToken.end, `new URL('./${entryPoint}', ${baseUrl})`); | ||
helpers.overwrite(startToken.start, endToken.end, `new URL('./${entryPoint.split(path.sep).join('/')}', ${baseUrl})`); | ||
return; | ||
@@ -248,0 +248,0 @@ } |
{ | ||
"name": "@chialab/esbuild-plugin-meta-url", | ||
"type": "module", | ||
"version": "0.17.5", | ||
"version": "0.17.6", | ||
"description": "A file loader plugin for esbuild for constructed URLs using import metadata.", | ||
@@ -6,0 +6,0 @@ "main": "lib/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
15747