switch to typescript
This commit is contained in:
parent
031ca31c7e
commit
23559b1a3b
63 changed files with 7943 additions and 1397 deletions
7
scripts/build
Executable file
7
scripts/build
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh -ex
|
||||
|
||||
# server build
|
||||
npm run rollup -- -c rollup.server.config.js
|
||||
|
||||
# frontend build
|
||||
npm run vite -- build
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd "$RUN_DIR/server"
|
||||
cd "$RUN_DIR/build/server"
|
||||
|
||||
nodemon --max-old-space-size=64 index.js -e js
|
||||
nodemon --max-old-space-size=64 main.js -c ../../config.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue