From 4944a558bb032fa0c84688f5878dab7231fff65b Mon Sep 17 00:00:00 2001 From: zhl Date: Fri, 29 Jan 2021 19:17:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9tsc=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E7=9B=AE=E6=A0=87=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + ecosystem.config.js | 4 ++-- tsconfig.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index aedfdd8..0108ade 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules .idea .DS_Store lib +dist diff --git a/ecosystem.config.js b/ecosystem.config.js index 707be4c..a8ef42a 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -13,7 +13,7 @@ module.exports = { }, { name : "card_svr", - script : "lib/index.js", // your entrypoint file + script : "dist/index.js", // your entrypoint file watch : true, // optional instances : 2, exec_mode : 'fork', // IMPORTANT: do not use cluster mode. @@ -28,7 +28,7 @@ module.exports = { }, { name : "card_bot", - script : "lib/robot.js", // your entrypoint file + script : "dist/robot.js", // your entrypoint file watch : true, // optional instances : 1, exec_mode : 'fork', // IMPORTANT: do not use cluster mode. diff --git a/tsconfig.json b/tsconfig.json index 1ac48f9..4a4297a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "libs" ], "compilerOptions": { - "outDir": "lib", + "outDir": "dist", "target": "es6", "baseUrl": "./src", "module": "commonjs",