Skip to content

Commit

Permalink
Use ncc
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy authored Jan 23, 2024
1 parent bd7d9b8 commit 76fd36d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"scripts": {
"start": "NODE_ENV=production node dist/index.js",
"build": "esbuild src/index.ts --packages=external --platform=node --bundle --minify --outfile=dist/index.js",
"build": "ncc build src/index.ts -o dist -m -t",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
"typecheck": "tsc --noemit",
"format": "prettier --write .",
Expand All @@ -29,7 +29,7 @@
"eslint": "^8.9.0",
"nodemon": "^3.0.0",
"ts-node-dev": "^2.0.0",
"esbuild": "^0.19.0",
"@vercel/ncc": "0.38.0",
"typescript": "^5.0.4"
},
"dependencies": {
Expand Down

0 comments on commit 76fd36d

Please sign in to comment.