Build: Verbose text report (#12178)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-01-28 10:11:35 +08:00
1 parent ff78a94424
commit 02052fd6ce
1 file changed
+3 -1
+3 -1
View File
@@ -18,7 +18,9 @@ export default function esbuildPluginVisualizer({ formats }) {
}
if (formats.text || formats.stdout) {
const report = await esbuild.analyzeMetafile(metafile);
const report = await esbuild.analyzeMetafile(metafile, {
verbose: true,
});
if (formats.stdout) {
console.log(report);