From 3e8ff8ef4cd49e719a80c57e27fc42e1eb1819b2 Mon Sep 17 00:00:00 2001 From: blake Date: Thu, 11 Dec 2025 21:37:46 -0600 Subject: [PATCH] build stuff --- esbuild.config.mjs | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esbuild.config.mjs b/esbuild.config.mjs index 822db8d..47bb1aa 100644 --- a/esbuild.config.mjs +++ b/esbuild.config.mjs @@ -2,7 +2,7 @@ import { build } from "esbuild"; await build({ entryPoints: ["backend/app.ts"], - outfile: "dist/app.js", + outfile: "dist/index.cjs", bundle: true, platform: "node", target: ["node24"], diff --git a/package.json b/package.json index 93d92ae..68ca1b0 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev:app": "cd backend && node --watch app.ts", - "build": "esbuild backend/app.ts --bundle --platform=node --minify --outfile=dist/index.cjs --format=esm --external:node:*", + "build": "esbuild backend/app.ts --bundle --platform=node --minify --outfile=dist/index.cjs --format=esm --external:node:* --legal-comments=none", "lint": "tsc" }, "repository": {