Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @angular-architects/native-federation@22.0.3 for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/@angular-architects/native-federation/src/tools/esbuild/angular-bundler.js b/node_modules/@angular-architects/native-federation/src/tools/esbuild/angular-bundler.js
index 29efd2a..73d3b0f 100644
--- a/node_modules/@angular-architects/native-federation/src/tools/esbuild/angular-bundler.js
+++ b/node_modules/@angular-architects/native-federation/src/tools/esbuild/angular-bundler.js
@@ -50,6 +50,7 @@ export async function createAngularEsbuildContext(options) {
incremental: true,
includeTestMetadata: !optimizationOptions.scripts,
instrumentForCoverage: builderOptions.instrumentForCoverage,
+ preserveSymlinks: builderOptions.preserveSymlinks,
};
const stylesheetBundlerOptions = {
workspaceRoot,
@@ -93,6 +94,7 @@ export async function createAngularEsbuildContext(options) {
external,
logLevel: 'warning',
bundle: true,
+ preserveSymlinks: builderOptions.preserveSymlinks,
sourcemap: sourcemapOptions.scripts,
minify: !dev,
supported: {
This issue body was partially generated by patch-package.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@angular-architects/native-federation@22.0.3for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.