Skip to content

native-federation #86

Description

@DanielRendonLiris

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions