kernel-peer-discovery/build.js

15 lines
262 B
JavaScript
Raw Normal View History

2023-01-18 08:12:48 +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"],
});