From 9eaf8e226f678d9c9be2967cba436f237a6cef51 Mon Sep 17 00:00:00 2001 From: Henry Taeschner Date: Tue, 22 Oct 2024 16:15:52 +0200 Subject: [PATCH] fix: added platform-browser to webpack config --- webpack.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 89cad57..11ed6a6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,8 +14,10 @@ const config = withModuleFederationPlugin({ '@angular/common': { requiredVersion: 'auto', includeSecondaries: { skip: ['@angular/common/http/testing'] } }, '@angular/common/http': { requiredVersion: 'auto', includeSecondaries: true }, '@angular/router': { requiredVersion: 'auto', includeSecondaries: true }, - rxjs: { requiredVersion: 'auto', includeSecondaries: true }, + '@angular/platform-browser': { requiredVersion: 'auto', includeSecondaries: true }, '@ngx-translate/core': { requiredVersion: 'auto' }, + rxjs: { requiredVersion: 'auto', includeSecondaries: true }, + primeng: { requiredVersion: 'auto', includeSecondaries: true }, '@onecx/accelerator': { requiredVersion: 'auto', includeSecondaries: true }, '@onecx/angular-accelerator': { requiredVersion: 'auto', includeSecondaries: true }, '@onecx/angular-auth': { requiredVersion: 'auto', includeSecondaries: true }, @@ -26,8 +28,7 @@ const config = withModuleFederationPlugin({ '@onecx/integration-interface': { requiredVersion: 'auto', includeSecondaries: true }, '@onecx/keycloak-auth': { requiredVersion: 'auto', includeSecondaries: true }, '@onecx/portal-integration-angular': { requiredVersion: 'auto', includeSecondaries: true }, - '@onecx/portal-layout-styles': { requiredVersion: 'auto', includeSecondaries: true }, - primeng: { requiredVersion: 'auto', includeSecondaries: true } + '@onecx/portal-layout-styles': { requiredVersion: 'auto', includeSecondaries: true } }), sharedMappings: ['@onecx/portal-integration-angular'] })