From 6c1ca2977b59a2aa1a5aee2da32eaf0b1ce3f729 Mon Sep 17 00:00:00 2001 From: Peter Pan Date: Fri, 15 May 2020 14:25:36 +0800 Subject: [PATCH] build: stop using script mode --- frontend/packages/server/package.json | 2 +- frontend/packages/serverless/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/packages/server/package.json b/frontend/packages/server/package.json index 58fedfef..fcf8484f 100644 --- a/frontend/packages/server/package.json +++ b/frontend/packages/server/package.json @@ -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" }, diff --git a/frontend/packages/serverless/package.json b/frontend/packages/serverless/package.json index d9a2258e..3928797b 100644 --- a/frontend/packages/serverless/package.json +++ b/frontend/packages/serverless/package.json @@ -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": { -- GitLab