kernel-swarm/build.js

15 lines
261 B
JavaScript
Raw Normal View History

2022-07-21 17:03:18 +00:00
import esbuild from "esbuild";
esbuild.buildSync({
entryPoints: ["src/index.ts"],
outfile: "dist/index.js",
format: "esm",
bundle: true,
legalComments: "external",
// minify: true
define: {
global: "self",
},
2022-07-27 22:46:15 +00:00
inject:['process.js']
2022-07-21 17:03:18 +00:00
});