Fix incorrect building

This commit is contained in:
Jesse Wierzbinski 2024-03-10 17:29:05 -10:00
parent 0541776d3d
commit 9c8f88ae8d
No known key found for this signature in database
2 changed files with 9 additions and 6 deletions

View file

@ -17,13 +17,17 @@ await Bun.build({
entrypoints: [
process.cwd() + "/index.ts",
process.cwd() + "/prisma.ts",
process.cwd() + "./cli.ts",
// process.cwd() + "/cli.ts",
],
outdir: process.cwd() + "/dist",
target: "bun",
splitting: true,
minify: true,
external: ["bullmq", "@prisma/client"],
external: ["bullmq"],
}).then(output => {
if (!output.success) {
console.log(output.logs);
}
});
// Create pages directory