Production Build Setup

* Use Dist folder instead of runtime hosting

Signed-off-by: Indrajith K L <indrajith@indrajith.dev>
This commit is contained in:
2026-07-05 20:40:27 +05:30
parent 746593c60d
commit 9e68fa4cea
3 changed files with 54 additions and 37 deletions

View File

@@ -13,7 +13,7 @@ const result = await Bun.build({
plugins: [tailwind],
minify: true,
target: "browser",
sourcemap: "linked",
sourcemap: "none",
define: {
"process.env.NODE_ENV": JSON.stringify("production"),
},