diff --git a/files/__addonLocation__/tsconfig.json b/files/__addonLocation__/tsconfig.json index 2cd85f3..1dfc0f0 100644 --- a/files/__addonLocation__/tsconfig.json +++ b/files/__addonLocation__/tsconfig.json @@ -14,10 +14,23 @@ https://www.typescriptlang.org/tsconfig#noEmit We want to emit declarations, so this option must be set to `false`. + @tsconfig/ember sets this to `true`, which is incompatible with our need to set `emitDeclarationOnly`. @tsconfig/ember is more optimized for apps, which wouldn't emit anything, only type check. */ "noEmit": false, + /** + https://www.typescriptlang.org/tsconfig#emitDeclarationOnly + + We want to only emit declarations as we use Rollup to emit JavaScript. + */ + "emitDeclarationOnly": true, + + /** + https://www.typescriptlang.org/tsconfig#noEmitOnError + Do not block emit on TS errors. + */ + "noEmitOnError": false, /** https://www.typescriptlang.org/tsconfig#rootDir