kernel-handshake-node/build.js

15 lines
258 B
JavaScript
Raw Normal View History

2023-02-18 15:40:05 +00:00
import esbuild from "esbuild";
esbuild.buildSync({
entryPoints: ["src/index.ts"],
outfile: "dist/index.js",
format: "iife",
bundle: true,
legalComments: "external",
// minify: true
define: {
global: "self",
},
external: ['dns']
});