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

Webpack 5 support #17555

Closed
15 tasks
felipeplets opened this issue Apr 27, 2020 · 11 comments
Closed
15 tasks

Webpack 5 support #17555

felipeplets opened this issue Apr 27, 2020 · 11 comments

Comments

@felipeplets
Copy link

felipeplets commented Apr 27, 2020

Support Webpack 5

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

There is a WIP PR #16371 to implement Webpack 5 but I could not find an issue tracking it and I'm opening this one so that implementation and timeline can be discussed and followed by the community.

Describe the solution you'd like

Support Webpack 5 once released. (currently it's in beta)

Describe alternatives you've considered

no alternative considered

@alan-agius4 alan-agius4 added area: @angular-devkit/build-angular feature Issue that requests a new feature labels Apr 27, 2020
@ngbot ngbot bot modified the milestone: Backlog Apr 27, 2020
@alfaproject
Copy link

@alan-agius4 out of curiosity, do you guys have a timeline to try out the beta? I suppose it would be good to validate that webpack 5 is in a good shape for Angular CLI while it's still in beta

@alan-agius4
Copy link
Collaborator

alan-agius4 commented Jun 10, 2020 via email

@OysteinAmundsen
Copy link

Will this issue also include the module federation as discussed in https://github.com/sokra/slides/blob/master/content/ModuleFederationWebpack5.md?
If this is the case, then I'm very exited! The work that's been put into this will in my opinion revolutionize how we build frontend applications.

@felipeplets
Copy link
Author

As support to Webpack 5 and support to Module Federation are two different streams that will probably not be implemented in the same PR we are tracking Module Federation support on issue #17556

@david2tm
Copy link

david2tm commented Sep 8, 2020

@alan-agius4 is there a fork somewhere where a development is done? may be community can contribute.

@alan-agius4
Copy link
Collaborator

alan-agius4 commented Sep 8, 2020

Unfortunately, Webpack 5 has a lot of breaking changes and therefore adding support for it is not trivial feat.

@clydin is working on this and has already landed a number of small PRs to make this happen gradually.

Can you use the current master branch if you are interested in contributing in any way.

@alan-agius4
Copy link
Collaborator

Experimental opt-in support for Webpack version 5 have been added in v11.0.0-next.3.

See #18820 for more information.

@tatsujb
Copy link

tatsujb commented Oct 2, 2020

Webpack 5 is needed for Angular-Cli to work on Mac and other Unix once again. as per : webpack/webpack-dev-server#2754

@tatsujb
Copy link

tatsujb commented Oct 5, 2020

Experimental opt-in support for Webpack version 5 have been added in v11.0.0-next.3.

See #18820 for more information.

when will it be available in a mainline npm version? pointing to github is sometimes entirely impossible behind corporate proxy. and in a corporate context pointing to non official versions as a whole is discouraged.

@alan-agius4
Copy link
Collaborator

alan-agius4 commented Oct 5, 2020

Version 11 prerelease versions are already on NPM, and you can update your application and try out the prerelease versions by running

ng update @angular/cli --next

@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 Nov 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants