You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nostrweb/tools/build.js

10 lines
255 B
JavaScript

import esbuild from 'esbuild';
import config from '../esbuildconf.js';
(async () => {
config.options.metafile = true;
let res = await esbuild.build(config.options);
let text = await esbuild.analyzeMetafile(res.metafile);
console.log(text);
})();