Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a3da154

Browse files
committed
log analysis results
1 parent 8e4e227 commit a3da154

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ esbuild.build({
99
bundle: true,
1010
entryPoints: [path.join(__dirname, "../src/index.ts")],
1111
format: "esm",
12+
metafile: true,
1213
minify: true,
1314
outdir: path.join(__dirname, "../docs"),
1415
plugins: [wasmPlugin],
1516
sourcemap: true,
1617
splitting: true,
1718
target: "es6"
19+
}).then((result) => esbuild.analyzeMetafile(result.metafile)).then((analysis) => {
20+
console.log(analysis);
1821
});

0 commit comments

Comments
 (0)