@chialab/esbuild-plugin-meta-url
Advanced tools
Comparing version 0.17.0 to 0.17.1
@@ -114,2 +114,3 @@ import path from 'path'; | ||
const { platform, format, sourcesContent, sourcemap } = build.getOptions(); | ||
const workingDir = build.getWorkingDir(); | ||
@@ -143,3 +144,3 @@ const usePlainScript = platform === 'browser' && format !== 'esm'; | ||
const { helpers, processor } = await parse(code, args.path); | ||
const { helpers, processor } = await parse(code, path.relative(workingDir, args.path)); | ||
@@ -247,7 +248,9 @@ /** | ||
const transformResult = await helpers.generate({ | ||
sourcemap: !!sourcemap, | ||
sourcesContent, | ||
}); | ||
return { | ||
...helpers.generate({ | ||
sourcemap: !!sourcemap, | ||
sourcesContent, | ||
}), | ||
...transformResult, | ||
warnings, | ||
@@ -254,0 +257,0 @@ }; |
{ | ||
"name": "@chialab/esbuild-plugin-meta-url", | ||
"type": "module", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "A file loader plugin for esbuild for constructed URLs using import metadata.", | ||
@@ -34,3 +34,3 @@ "main": "lib/index.js", | ||
"@chialab/esbuild-rna": "^0.17.0", | ||
"@chialab/estransform": "^0.17.0", | ||
"@chialab/estransform": "^0.17.1", | ||
"@chialab/node-resolve": "^0.17.0" | ||
@@ -37,0 +37,0 @@ }, |
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
13834
241
Updated@chialab/estransform@^0.17.1