Skip to content

Commit 6b26f66

Browse files
committed
fix(@angular-devkit/build-angular): add experimental web-assembly
Closes #20762 (cherry picked from commit 7df9d19)
1 parent d5a46a1 commit 6b26f66

File tree

1 file changed

+4
-0
lines changed
  • packages/angular_devkit/build_angular/src/webpack/configs

1 file changed

+4
-0
lines changed

packages/angular_devkit/build_angular/src/webpack/configs/common.ts

+4
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,10 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
487487
...extraRules,
488488
],
489489
},
490+
experiments: {
491+
syncWebAssembly: true,
492+
asyncWebAssembly: true,
493+
},
490494
cache: !!buildOptions.watch &&
491495
!cachingDisabled && {
492496
type: 'memory',

0 commit comments

Comments
 (0)