mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 23:46:31 +00:00
13 lines
285 B
TypeScript
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();
|