提交 6c1ca297 编写于 作者: P Peter Pan

build: stop using script mode

上级 a20b79e9
......@@ -24,7 +24,7 @@
},
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon --watch index.ts --watch webpack.config.js --exec \"ts-node index.ts\"",
"build": "cross-env API_URL=/api ts-node --script-mode build.ts",
"build": "cross-env API_URL=/api ts-node build.ts",
"start": "pm2-runtime ecosystem.config.js",
"test": "echo \"Error: no test specified\" && exit 0"
},
......
......@@ -27,7 +27,7 @@
"dist"
],
"scripts": {
"build": "cross-env ts-node --script-mode build.ts",
"build": "cross-env ts-node build.ts",
"test": "echo \"Error: no test specified\" && exit 0"
},
"devDependencies": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册