LinbuduLab/esbuild-plugins

Doesn't work as would like it. `outputFiles` isn't iterable.

Opened this issue · 0 comments

result.outputFiles is null when write: true which is the typical case. IMHO this plugin can look at Object.keys(result.metafile?.outputs) and compress that instead. This way you can avoid the double compilation.