我使用 nexe 从 tsc.js 创建了一个 tsc.exe:
npm install -g nexe
nexe tsc.js --build
结果tsc.exe
接受与 相同的参数tsc.js
,但是如何将参数传递给底层节点引擎?我想运行这样的东西:
node --trace-warnings tsc.js ...
我如何使用 created 来做到这一点tsc.exe
?
我使用 nexe 从 tsc.js 创建了一个 tsc.exe:
npm install -g nexe
nexe tsc.js --build
结果tsc.exe
接受与 相同的参数tsc.js
,但是如何将参数传递给底层节点引擎?我想运行这样的东西:
node --trace-warnings tsc.js ...
我如何使用 created 来做到这一点tsc.exe
?