Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra configuration possibilities for Native Module Federation with Angular #26839

Closed
petereijgermans11 opened this issue Jan 10, 2024 · 2 comments

Comments

@petereijgermans11
Copy link

Command

config

Description

Is it possible to implement the following feature in esbuild and in angular.json for 'Native Module Federation'?
At this moment I use Angular 17 with 'Webpack Module Federation' and I want to step over to 'Native Module Federation'.

In Angular with 'Webpack Module Federation' you have the configuration option in angular.json to define an extraWebpackConfig. Esbuild does not support such a configuration option.

Why do I need this option?
I want different configuration files for different tasks (e.g. build and serve, e2e).

Describe the solution you'd like

It would be very useful for my installation for Native Module Federation in Angular 17 to have the configuration option: extraEsBuildConfig in angular.json
I want to use different configuration files for different tasks, such as: build and serve, e2e ect

Describe alternatives you've considered

No response

@alan-agius4
Copy link
Collaborator

extraWebpackConfig option is not provided nor supported by the Angular. CLI. This option is provided by 3rd party builders that extends the Angular CLI which are not supported by the Angular team.

Support for micro fronteds is being tracked here:
#17556

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2024
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants