Open YuliaTsareva opened 7 years ago
It seems that tsconfigs with inheritance are not correctly processed.
If config looks like
{ "extends": "./tsconfig", "angularCompilerOptions": { "genDir": "./compiled", "skipMetadataEmit": true } }
an error occurs at text-based-loader/loader.ts because there is no compilerOptions.
compilerOptions
Module build failed: TypeError: Cannot set property 'disable' of undefined
See https://github.com/shlomiassaf/ngc-webpack/blob/master/src/aot-clean-transformer/loader/text-based-loader/loader.ts#L269
For now I add empty compilerOptions as a workaround:
{ "extends": "./tsconfig", "compilerOptions": {}, "angularCompilerOptions": { "genDir": "./compiled", "skipMetadataEmit": true } }
It seems that tsconfigs with inheritance are not correctly processed.
If config looks like
an error occurs at text-based-loader/loader.ts because there is no
compilerOptions
.See https://github.com/shlomiassaf/ngc-webpack/blob/master/src/aot-clean-transformer/loader/text-based-loader/loader.ts#L269
For now I add empty
compilerOptions
as a workaround: