`ng add ngxtension` fails without "compilerOptions".
Nvveen opened this issue · 0 comments
Nvveen commented
I have a base tsconfig.json
that just references other tsconfig.json
files in my project:
{
"files": [],
"references": [
{
"path": "./src/tsconfig.app.json"
},
{
"path": "./src/tsconfig.spec.json"
}
]
}
If I ng add ngxtension
I get an error: Cannot use 'in' operator to search for 'skipLibCheck' in undefined
. If I add an empty "compilerOptions": {}
the command works again. This step isn't needed in the first place for me, because I already have the skipLibCheck
option in tsconfig.base.json
, but it would be nice if the generator would shot a warning or something instead.