[wp-trac] [WordPress Trac] #51750: Update webpack to version 5.x

WordPress Trac noreply at wordpress.org
Thu Apr 22 05:55:09 UTC 2021


#51750: Update webpack to version 5.x
------------------------------+-----------------------------
 Reporter:  mukesh27          |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  javascript
------------------------------+-----------------------------

Comment (by gziolo):

 I wanted to cross-reference the first failed attempt to updated webpack in
 Gutenberg: https://github.com/WordPress/gutenberg/pull/26382

 Gutenberg build was working correctly, but some tools like Storybook and
 `@wordpress/scripts` stopped working because of some compatibility issues.
 We should give it another try in the next weeks.

 > 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.

 @desrosj, do you anticipate any issues if we would start using different
 versions of webpack? As far as I can tell, Jarda landed all necessary
 changes to make v4 and v5 compatible in separate PRs, including changes to
 `@wordpress/dependency-extraction-webpack-plugin` that Calypso uses
 already with webpack 5. If you look at the PR I shared the number of
 changes is fairly minimal.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51750#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list