Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export abstract class AngularCompilation {
suppressOutputPathCheck: true,
outDir: undefined,
sourceMap: false,
declaration: false,
declarationMap: false,
allowEmptyCodegenFiles: false,
annotationsAs: 'decorators',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,9 @@ function createCompilerOptionsTransformer(
return {
...compilerOptions,
noEmitOnError: false,
composite: false,
// TypeScript requires either declaration or composite to be true when isolatedDeclarations is set
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will most likely slow down the build since we'd be generating declarations we don't really need for an app. Also, our current setup does handles composite projects yet.

declaration: compilerOptions.isolatedDeclarations ? compilerOptions.declaration : false,
composite: compilerOptions.isolatedDeclarations ? compilerOptions.composite : false,
inlineSources: !!pluginOptions.sourcemap,
inlineSourceMap: !!pluginOptions.sourcemap,
sourceMap: undefined,
Expand Down