kernel-rpc/build.js

15 lines
262 B
JavaScript
Raw Normal View History

2022-07-21 17:04:17 +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",
},
external: ["libkernel"],
});