@chialab/esbuild-plugin-transform
Advanced tools
Comparing version 0.10.4 to 0.10.5
@@ -101,3 +101,3 @@ import path from 'path'; | ||
const regex = new RegExp(input.replace(/([()[\]{}\\\-+.*?^$])/g, '\\$1')); | ||
build.onResolve({ filter: regex }, () => ({ path: input, namespace: 'file' })); | ||
build.onResolve({ filter: regex }, () => ({ path: path.resolve(options.sourceRoot || process.cwd(), input), namespace: 'file' })); | ||
delete options.stdin; | ||
@@ -104,0 +104,0 @@ options.entryPoints = [input]; |
{ | ||
"name": "@chialab/esbuild-plugin-transform", | ||
"type": "module", | ||
"version": "0.10.4", | ||
"version": "0.10.5", | ||
"description": "Pipe transformation plugin for esbuild.", | ||
@@ -42,3 +42,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "7f174e0680356966c7cce4b50f2cf2bc58492c5a" | ||
"gitHead": "b5d9c2ac00805bd9e258746fbc141a245c0eac8d" | ||
} |
11355