From 1bef11aaaa23334df105b8e62cf919194a59dc43 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 7 Oct 2021 18:21:17 +0200 Subject: :bug: fix swc config --- bundle/package.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'bundle/package.json') diff --git a/bundle/package.json b/bundle/package.json index fbb39042..c62d6c53 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -5,13 +5,8 @@ "main": "src/start.js", "scripts": { "setup": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i && cd ../bundle/ && npm --production=false i && npm run build", - "build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle", - "postinstall": "ts-patch install -s", - "build:bundle": "swc src --out-dir dist", - "build:util": "cd ../util/ && npm run build", - "build:api": "cd ../api/ && npm run build", - "build:cdn": "cd ../cdn/ && npm run build", - "build:gateway": "cd ../gateway/ && npm run build", + "build": "node scripts/build.js", + "build:bundle": "npx swc src --out-dir dist", "start": "npm run build && npm run start:bundle", "start:bundle": "node dist/start.js", "test": "echo \"Error: no test specified\" && exit 1" -- cgit 1.4.1