Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): disable webpack cache when using …
Browse files Browse the repository at this point in the history
…`NG_BUILD_CACHE`
  • Loading branch information
alan-agius4 authored and clydin committed Apr 12, 2021
1 parent ab9e5dd commit bd0aba7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
...extraRules,
],
},
cache: !!buildOptions.watch,
cache: !!buildOptions.watch && !cachingDisabled,
optimization: {
minimizer: extraMinimizers,
moduleIds: withWebpackFourOrFive('hashed', 'deterministic'),
Expand Down

0 comments on commit bd0aba7

Please sign in to comment.