personal_website/build.ts
Nikola Petrov b64e7d8b71 up frontend list
when add new media reload all media
2024-08-04 11:04:08 +02:00

21 lines
321 B
TypeScript

async function build() {
const minify = {
whitespace: true,
syntax: true,
identifiers: true,
}
const sa = await Bun.build({
entrypoints: ["./frontend/cash/cash", "./frontend/list/list"],
outdir: "./public/assets/build/",
minify,
})
console.log(sa);
}
build();
export default build;