@chialab/esbuild-plugin-html
Advanced tools
Comparing version 0.11.33 to 0.11.35
@@ -146,3 +146,5 @@ import path from 'path'; | ||
const contents = filePath === fullInput && stdin ? stdin.contents : await readFile(filePath, 'utf-8'); | ||
const contents = filePath === fullInput && stdin ? | ||
stdin.contents.toString() : | ||
await readFile(filePath, 'utf-8'); | ||
const basePath = path.dirname(filePath); | ||
@@ -149,0 +151,0 @@ const relativePath = `./${path.relative(sourceDir, basePath)}`; |
{ | ||
"name": "@chialab/esbuild-plugin-html", | ||
"type": "module", | ||
"version": "0.11.33", | ||
"version": "0.11.35", | ||
"description": "A HTML loader plugin for esbuild.", | ||
@@ -49,3 +49,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "dc3331e08d7eb0778f27921ec2cb7776ac0389ee" | ||
"gitHead": "ea00bad06278de34a104d65a25c6dd8f4f422373" | ||
} |
49316
1000