refactor: move server entrypoint to root

This commit is contained in:
syntaxbullet
2026-07-02 22:52:46 +02:00
parent 64838e85ba
commit 5f767a6688
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import { serve } from "bun"; import { serve } from "bun";
import index from "../view/index.html"; import index from "./view/index.html";
const server = serve({ const server = serve({
routes: { routes: {

View File

@@ -4,8 +4,8 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "bun --hot src/index.ts", "dev": "bun --hot index.ts",
"start": "NODE_ENV=production bun src/index.ts", "start": "NODE_ENV=production bun index.ts",
"build": "bun run build.ts" "build": "bun run build.ts"
}, },
"dependencies": { "dependencies": {