Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit bb16adf

Browse files
author
cewald
committed
Wrong paths for production build
1 parent a729c70 commit bb16adf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ecosystem.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"apps": [
33
{
44
"name": "api",
5-
"script": "./dist/index.js",
5+
"script": "./dist/src/index.js",
66
"log_date_format": "YYYY-MM-DD HH:mm:ss",
77
"ignore_watch": ["node_modules"]
88
},

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"dev:inspect": "nodemon --exec \"node --inspect -r ts-node/register src\"",
1313
"build": "npm run -s build:code && npm run -s build:copy:graphql && npm run -s build:copy:schema",
1414
"build:code": "tsc --build",
15-
"build:copy:graphql": "cpx src/**/*.graphqls dist",
16-
"build:copy:schema": "cpx 'src/**/*.schema*.json' dist",
15+
"build:copy:graphql": "cpx src/**/*.graphqls dist/src",
16+
"build:copy:schema": "cpx 'src/**/*.schema*.json' dist/src",
1717
"start": "pm2 start ecosystem.json $PM2_ARGS",
1818
"db": "node scripts/db.js",
1919
"db7": "node scripts/db7.js",

0 commit comments

Comments
 (0)