mermaid/.esbuild/esbuild.cjs

14 lines
332 B
JavaScript
Raw Normal View History

2022-09-01 13:38:02 +05:30
const { esmBuild, umdBuild } = require('./util.cjs');
const { build } = require('esbuild');
const handler = (e) => {
console.error(e);
process.exit(1);
};
build(esmBuild({ minify: false })).catch(handler);
build(umdBuild({ minify: false })).catch(handler);
build(esmBuild()).catch(handler);
build(umdBuild()).catch(handler);