9 lines
151 B
JavaScript
9 lines
151 B
JavaScript
|
import esbuild from "esbuild";
|
||
|
|
||
|
esbuild.buildSync({
|
||
|
entryPoints: ["src/index.ts"],
|
||
|
outfile: "dist/index.js",
|
||
|
format: "iife",
|
||
|
bundle: true,
|
||
|
});
|