Our project has the following structure:
+-- views
+-- viewXXX
+-- ts
¦ +-- controller.ts
¦ +-- helper.ts
¦ +-- ... (*.ts)
+-- viewXXX.ctrl.js // this is the desired output file
+-- viewXXX.ctrl.map.js
+-- viewXXX.html
We are currently setting up a task in VSCode to compile following this structure...
// Task configuration for calling the Typescript compiler (tsc)
{
"version": "0.1.0",
"command": "tsc",
"isShellCommand": true,
"showOutput": "silent",
"args": [
"-t",
"es5",
"-m",
"commonjs",
"--sourceMap",
"--out",
"${fileDirname}.ctrl.js",
// "--filesGlob", missing
"${fileDirname}\\ts\\*.ts"
],
"problemMatcher": "$tsc"
}
We're facing difficulties as there is no --filesGlob parameter available, or any other method to use regex to compile multiple files. Are there alternative approaches that support this workflow?