Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#51750 new enhancement

Update webpack to version 5.x

Reported by: mukesh27 Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-patch
Focuses: javascript Cc:


Update webpack version to latest version https://www.npmjs.com/package/webpack

Change History (1)

#1 @desrosj
5 months ago

  • Focuses javascript added
  • Milestone changed from Awaiting Review to Future Release
  • Summary changed from Update webpack versions for 5.6 to Update webpack to version 5.x
  • Type changed from defect (bug) to enhancement

Just a note that any update to Webpack needs to be a coordinated effort with the block editor team in the Gutenberg repository to ensure both spots use the same version.

It's also unlikely that this update will be as straightforward as changing the version number and updating as there are many breaking changes. A full breakdown of the changes in Webpack 5.x can be found here: https://webpack.js.org/blog/2020-10-10-webpack-5-release/. We should also look at the changes in 5.x and see if there are any new features that can be utilized.

I'm going to move this to Future Release because it's unlikely this will happen in time for 5.6.

Note: See TracTickets for help on using tickets.