Typescript / compile
Posted: Wed Jul 07, 2021 10:39 am
I wonder if we're doing it the right way.
we're coding in typescript (main.ts), after any change we run npm run compile (in order to create the main.js).
part of package.json:
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"pack": "SwitchScriptTool --transpile . && SwitchScriptTool --pack . ..",
"compile": "SwitchScriptTool --transpile ."
},
ist here an easier way?
When will Switch check the modification?
thx in advance,
Ralf.
we're coding in typescript (main.ts), after any change we run npm run compile (in order to create the main.js).
part of package.json:
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"pack": "SwitchScriptTool --transpile . && SwitchScriptTool --pack . ..",
"compile": "SwitchScriptTool --transpile ."
},
ist here an easier way?
When will Switch check the modification?
thx in advance,
Ralf.