@chialab/esbuild-plugin-meta-url
Advanced tools
Comparing version 0.14.10 to 0.14.11
@@ -113,3 +113,3 @@ import path from 'path'; | ||
const { platform, format, sourcesContent, sourcemap } = build.initialOptions; | ||
const { onTransform, resolve, emitFile, emitChunk, rootDir, loaders: buildLoaders } = useRna(build); | ||
const { onTransform, emitFile, emitChunk, rootDir, loaders: buildLoaders } = useRna(build); | ||
@@ -160,5 +160,4 @@ const baseUrl = (() => { | ||
promises.push(Promise.resolve().then(async () => { | ||
const { path: resolvedPath } = await resolve({ | ||
const { path: resolvedPath } = await build.resolve(value.split('?')[0], { | ||
kind: 'dynamic-import', | ||
path: value.split('?')[0], | ||
importer: args.path, | ||
@@ -165,0 +164,0 @@ namespace: 'file', |
{ | ||
"name": "@chialab/esbuild-plugin-meta-url", | ||
"type": "module", | ||
"version": "0.14.10", | ||
"version": "0.14.11", | ||
"description": "A file loader plugin for esbuild for constructed URLs using import metadata.", | ||
@@ -37,11 +37,11 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@chialab/esbuild-rna": "^0.14.10", | ||
"@chialab/estransform": "^0.14.10", | ||
"@chialab/node-resolve": "^0.14.10" | ||
"@chialab/esbuild-rna": "^0.14.11", | ||
"@chialab/estransform": "^0.14.11", | ||
"@chialab/node-resolve": "^0.14.11" | ||
}, | ||
"devDependencies": { | ||
"esbuild": "^0.14.0", | ||
"esbuild": "^0.14.8", | ||
"typescript": "^4.3.0" | ||
}, | ||
"gitHead": "7d9fd9eabbd5f6b0a9db58a77002c146e42de1ae" | ||
"gitHead": "ad2d9ec16f123ee9d43228384284b06686c977a6" | ||
} |
10837
181