Skip to content

Webpack 5 support #17555

Closed
Closed

Description

@felipeplets

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

Activity

  1. modified the milestone: Backlog on Apr 27, 2020
  2. alfaproject commented on Jun 10, 2020

    @alfaproject

    @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

  3. alan-agius4 commented on Jun 10, 2020

    @alan-agius4
    Collaborator
  4. OysteinAmundsen commented on Aug 23, 2020

    @OysteinAmundsen

    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.

  5. felipeplets commented on Aug 24, 2020

    @felipeplets
    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

  6. david2tm commented on Sep 8, 2020

    @david2tm

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

  7. alan-agius4 commented on Sep 8, 2020

    @alan-agius4
    Collaborator

    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.

  8. alan-agius4 commented on Sep 30, 2020

    @alan-agius4
    Collaborator

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

    See #18820 for more information.

  9. tatsujb commented on Oct 2, 2020

    @tatsujb

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

  10. tatsujb commented on Oct 5, 2020

    @tatsujb

    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.

  11. alan-agius4 commented on Oct 5, 2020

    @alan-agius4
    Collaborator

    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
  12. angular-automatic-lock-bot commented on Nov 5, 2020

    @angular-automatic-lock-bot

    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.

  13. locked and limited conversation to collaborators on Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions