修改tsc编译目标目录
This commit is contained in:
parent
cb0e227420
commit
4944a558bb
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ node_modules
|
|||||||
.idea
|
.idea
|
||||||
.DS_Store
|
.DS_Store
|
||||||
lib
|
lib
|
||||||
|
dist
|
||||||
|
@ -13,7 +13,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name : "card_svr",
|
name : "card_svr",
|
||||||
script : "lib/index.js", // your entrypoint file
|
script : "dist/index.js", // your entrypoint file
|
||||||
watch : true, // optional
|
watch : true, // optional
|
||||||
instances : 2,
|
instances : 2,
|
||||||
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
||||||
@ -28,7 +28,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name : "card_bot",
|
name : "card_bot",
|
||||||
script : "lib/robot.js", // your entrypoint file
|
script : "dist/robot.js", // your entrypoint file
|
||||||
watch : true, // optional
|
watch : true, // optional
|
||||||
instances : 1,
|
instances : 1,
|
||||||
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"libs"
|
"libs"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "dist",
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"baseUrl": "./src",
|
"baseUrl": "./src",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user