Babel use ts result as input
This commit is contained in:
parent
e000d35f95
commit
b0c69fff34
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user