[WEB-1116] chore: live server code splitting (#5508)

* chore: live server code splitting

* chore: update import paths

* chore: update bebel path alias

* fix: document types type

* chore: updated error messages
This commit is contained in:
Aaryan Khandelwal 2024-09-03 17:03:50 +05:30 committed by GitHub
parent 1ef535af7b
commit 5840b40d96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 189 additions and 23 deletions

View file

@ -6,7 +6,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "tsc",
"build": "babel src --out-dir dist --extensions \".ts,.js\"",
"start": "node dist/server.js",
"dev": "PORT=3003 nodemon --exec \"node -r esbuild-register ./src/server.ts\" -e .ts"
},
@ -32,10 +32,15 @@
"yjs": "^13.6.14"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.21",
"@types/express-ws": "^3.0.4",
"@types/node": "^20.14.9",
"babel-plugin-module-resolver": "^5.0.2",
"nodemon": "^3.1.0",
"ts-node": "^10.9.2",
"tsup": "^7.2.0",