From 890448388e10480db4437cd3cf1205d4ffd52dde Mon Sep 17 00:00:00 2001 From: vlupinek <90526378+vlupinek@users.noreply.github.com> Date: Tue, 28 May 2024 23:35:06 +0200 Subject: [PATCH] add support for esbuild loaders --- libs/native-federation/src/utils/angular-esbuild-adapter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/native-federation/src/utils/angular-esbuild-adapter.ts b/libs/native-federation/src/utils/angular-esbuild-adapter.ts index cd551c84..c17cc7f4 100644 --- a/libs/native-federation/src/utils/angular-esbuild-adapter.ts +++ b/libs/native-federation/src/utils/angular-esbuild-adapter.ts @@ -305,6 +305,7 @@ async function runEsbuild( ...(!dev ? { ngDevMode: 'false' } : {}), ngJitMode: 'false', }, + ...(builderOptions.loader ? {loader: builderOptions.loader} : {}), }; const ctx = await esbuild.context(config);