git-repo-search/bundle.ts

13 lines
285 B
TypeScript
Raw Permalink Normal View History

2025-01-06 00:48:11 +00:00
import * as esbuild from "npm:esbuild";
import { denoPlugins } from "jsr:@luca/esbuild-deno-loader";
await esbuild.build({
plugins: [...denoPlugins()],
entryPoints: ["./src/index.ts"],
outfile: "./dist/bundle.js",
bundle: true,
format: "esm",
});
esbuild.stop();