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

(cherry picked from commit 2ef3949)
  • Loading branch information
alan-agius4 committed Feb 22, 2021
1 parent 990e847 commit b9c0e3b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ function createIvyPlugin(

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

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

0 comments on commit b9c0e3b

Please sign in to comment.