Skip to content

Commit 70097ab

Browse files
committed
fix: clean dist before build and add dist to gitignore
1 parent 16d7409 commit 70097ab

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ npm-debug.log
66
.sass-cache
77
.env
88
data/*
9+
.vercel
10+
.env*.local
11+
dist/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": false,
77
"author": "Vinit Kumar <[email protected]> (http://vinitkumar.me)",
88
"scripts": {
9-
"build": "npx tsc -p tsconfig.prod.json",
9+
"build": "rm -rf dist && npx tsc -p tsconfig.prod.json",
1010
"build:dev": "npx tsc",
1111
"start": "ts-node server.ts",
1212
"start:prod": "node dist/server.js",

0 commit comments

Comments
 (0)