From 6e07cb19c0d25a32d51ecc323bbd17eba4ed693f Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 25 May 2021 11:07:08 +0200 Subject: [PATCH] fix(@angular-devkit/build-angular): allow i18n extraction on application that uses web-workers Closes #20930 --- packages/angular_devkit/build_angular/src/extract-i18n/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/angular_devkit/build_angular/src/extract-i18n/index.ts b/packages/angular_devkit/build_angular/src/extract-i18n/index.ts index c5b315a49464..151144f1b170 100644 --- a/packages/angular_devkit/build_angular/src/extract-i18n/index.ts +++ b/packages/angular_devkit/build_angular/src/extract-i18n/index.ts @@ -24,6 +24,7 @@ import { getCommonConfig, getStatsConfig, getTypeScriptConfig, + getWorkerConfig, } from '../webpack/configs'; import { createWebpackLoggingCallback } from '../webpack/utils/stats'; import { Format, Schema } from './schema'; @@ -212,6 +213,7 @@ export async function execute( getCommonConfig(wco), getBrowserConfig(wco), getTypeScriptConfig(wco), + getWorkerConfig(wco), getStatsConfig(wco), ];