Skip to content

Commit

Permalink
perf(@angular-devkit/build-angular): enforce Babel not to load source…
Browse files Browse the repository at this point in the history
…maps from file

Workaround for babel/babel-loader#896

(cherry picked from commit 2d6e82f)
  • Loading branch information
alan-agius4 committed Mar 15, 2021
1 parent 3d6ad81 commit bd5c279
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -136,6 +136,9 @@ export default custom<AngularCustomOptions>(() => {
config(configuration, { customOptions }) {
return {
...configuration.options,
// Workaround for https://github.com/babel/babel-loader/pull/896 is available
// Delete once the above PR is released
inputSourceMap: (configuration.options.inputSourceMap || false as {}), // Typings are not correct
presets: [
...(configuration.options.presets || []),
[
Expand Down

0 comments on commit bd5c279

Please sign in to comment.