-
-
Notifications
You must be signed in to change notification settings - Fork 679
Closed
Labels
Description
I have further asconfig.json:
{
"entries": ["./src/asm/**/*.as.ts"]
}Which is similar to running:
asc ./src/asm/**/*.as.tsAnd the above CLI command works... But if I run this config instead, I get this error:
asc --config asconfig.json
ERROR TS6054: File 'src/asm/**/*.as.ts' not found.
FAILURE 1 parse error(s)It's clear bash translates those * and ** into actual file hierarchy list, while compiler can't understand those globs and rely too much on bash. This way I can't make some scripting work.
I'd recommend to use something like globby when parsing asconfig.json, to make it a bit more independent from bash, and a little more similar to how tsc work (I see there's a lot of inspiration from it 😜)