diff --git a/bundle/package.json b/bundle/package.json
index 83f26116..7cf4ba40 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -4,6 +4,7 @@
"description": "",
"main": "src/start.js",
"scripts": {
+ "prepare": "ts-patch install -s",
"preinstall": "cd ../util && npm i && cd ../api && npm i && cd ../cdn && npm i && cd ../gateway && npm i",
"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
"build:bundle": "npx tsc -b .",
@@ -12,7 +13,7 @@
"build:cdn": "cd ../cdn/ && npm run build",
"build:gateway": "cd ../gateway/ && npm run build",
"start": "npm run build && npm run start:bundle",
- "start:bundle": "node -r ./tsconfig-paths-bootstrap.js dist/start.js",
+ "start:bundle": "node dist/start.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
@@ -43,6 +44,7 @@
"@types/uuid": "^8.3.0",
"@types/ws": "^7.4.0",
"@zerollup/ts-transform-paths": "^1.7.18",
+ "ts-patch": "^1.4.4",
"typescript": "^4.3.5"
},
"dependencies": {
|