kernel-dns/build.js

16 lines
315 B
JavaScript
Raw Normal View History

2022-07-21 16:47:53 +00:00
import esbuild from "esbuild"
esbuild.buildSync({
entryPoints: ['src/index.ts'],
outfile: 'dist/index.js',
format: 'esm',
inject: ["./polyfill.js"],
bundle: true,
legalComments: 'external',
// minify: true
define: {
'global': 'self'
},
external: ["libkernel"]
})