Babel use ts result as input

This commit is contained in:
Merijn Hendriks 2021-12-29 15:04:13 +01:00
parent e000d35f95
commit b0c69fff34

View File

@ -5,7 +5,7 @@
"license": "NCSA", "license": "NCSA",
"scripts": { "scripts": {
"build:ts": "npx tsc --build", "build:ts": "npx tsc --build",
"build:babel": "npx babel src --extensions \".ts\" --out-dir obj/babel", "build:babel": "npx babel obj/ts --out-dir obj/babel",
"build:bundle": "npx browserify --debug --node obj/babel/main.js > obj/server.js", "build:bundle": "npx browserify --debug --node obj/babel/main.js > obj/server.js",
"build:exe": "npx nexe -t x64-14.15.3 -i obj/server.js -o bin/Server.exe", "build:exe": "npx nexe -t x64-14.15.3 -i obj/server.js -o bin/Server.exe",
"build:icon": "cd node_modules/rcedit/bin && rcedit-x64.exe ../../../bin/Server.exe --set-icon ../../../assets/images/favicon.ico", "build:icon": "cd node_modules/rcedit/bin && rcedit-x64.exe ../../../bin/Server.exe --set-icon ../../../assets/images/favicon.ico",