From 1b94cd0e64459f55a560b7d7bd56c77bcd460df1 Mon Sep 17 00:00:00 2001 From: Veikkosuhonen Date: Thu, 18 Jan 2024 22:27:54 +0200 Subject: [PATCH] Fix prod build entrypoint --- package.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c960233..1e58ae7 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "docker-compose up", "start:dev": "NODE_ENV=development nodemon --exec node --loader ts-node/esm src/index.js", - "start:prod": "node build/src/index.js", + "start:prod": "node build/index.js", "build": "tsc", "test": "vitest", "coverage": "vitest run --coverage" diff --git a/tsconfig.json b/tsconfig.json index 6dcf8f6..a5eaf50 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,5 +17,5 @@ "moduleResolution": "node16" }, "include": ["src/**/*"], - "exclude": ["node_modules", "build", "tests", "scripts"] + "exclude": ["node_modules", "build", "tests", "scripts", "prettier.config.js"] } \ No newline at end of file