git-repo-search/bundle.ts
2025-01-06 01:48:11 +01:00

13 lines
285 B
TypeScript

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();