Page MenuHomeSealhub

esbuild.js
No OneTemporary

esbuild.js

const { build } = require("esbuild");
const glob = require("tiny-glob");
const watch = process.argv.at(-1) === "--watch";
(async () => {
let entryPoints = Object.fromEntries(
(await glob("./src/**/*.ts")).map((e) => [
e.replace(/\.ts$/, ""),
e,
])
);
build({
entryPoints,
sourcemap: true,
outdir: "./dist",
logLevel: "info",
platform: "node",
watch,
target: "node16",
format: "cjs",
});
})();

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 16:50 (1 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
599788
Default Alt Text
esbuild.js (424 B)

Event Timeline