@chialab/esbuild-plugin-emit
Advanced tools
Comparing version 0.11.28 to 0.11.29
@@ -57,3 +57,4 @@ import path from 'path'; | ||
const loader = loaders[path.extname(source)] || 'file'; | ||
if (loader !== 'file') { | ||
if (loader !== 'file' && | ||
loader !== 'json') { | ||
return emitChunk(source); | ||
@@ -60,0 +61,0 @@ } |
{ | ||
"name": "@chialab/esbuild-plugin-emit", | ||
"type": "module", | ||
"version": "0.11.28", | ||
"version": "0.11.29", | ||
"description": "Helpers functions to emit chunks and files from a esbuild run.", | ||
@@ -37,3 +37,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "be4bf7d85e0b1bbc32664152b232915e2275977d" | ||
"gitHead": "5dd846940c4df7bc2f8caab67eb8179e0986793b" | ||
} |
10617
230