Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): disable declaration and declarati…
Browse files Browse the repository at this point in the history
…onMap

When building an application or testing a library. TypeScript declarations are not needed.

Closes #20103
  • Loading branch information
alan-agius4 committed Feb 22, 2021
1 parent d19d2cc commit 2ef3949
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ function createIvyPlugin(

const compilerOptions: CompilerOptions = {
sourceMap: buildOptions.sourceMap.scripts,
declaration: false,
declarationMap: false,
};

if (buildOptions.preserveSymlinks !== undefined) {
Expand Down

0 comments on commit 2ef3949

Please sign in to comment.