summary refs log tree commit diff
path: root/api/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 09:59:04 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 09:59:04 +0200
commitb5905c1bba38cf95b89d716ebea59081209e7df3 (patch)
tree940f5d8f092c0600efcd4989ee99630bca4e680f /api/package.json
parentCompiler test (diff)
downloadserver-ts-b5905c1bba38cf95b89d716ebea59081209e7df3.tar.xz
:bug: fix swcrc config: rewrite import -> require
Diffstat (limited to 'api/package.json')
-rw-r--r--api/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/package.json b/api/package.json

index 37721728..2764320a 100644 --- a/api/package.json +++ b/api/package.json
@@ -10,7 +10,7 @@ "test": "npm run build && npm run test:only", "test:watch": "jest --watch", "start": "npm run build && node dist/start", - "build": "npx tsc -b .", + "build": "swc src --out-dir dist", "build-docker": "tsc -p tsconfig-docker.json", "dev": "tsnd --respawn src/start.ts", "patch": "ts-patch install -s && npx patch-package",