Commit 993b2bd
fix(@angular-devkit/build-angular): avoid ES module assumption for vendor files
This change prevents import statements from being added to commonjs files when downleveling helpers are needed. These imports would then cause webpack to assume that the file is an ES module and potentially break the commonjs file.
Fixes #182841 parent 2443fd4 commit 993b2bd
File tree
1 file changed
+1
-0
lines changed- packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
547 | 548 | | |
548 | 549 | | |
549 | 550 | | |
| |||
0 commit comments