[wp-trac] [WordPress Trac] #54485: Build tools: Upgrade webpack to v5

WordPress Trac noreply at wordpress.org
Mon Nov 22 00:14:47 UTC 2021


#54485: Build tools: Upgrade webpack to v5
------------------------------+--------------------
 Reporter:  noisysocks        |      Owner:  (none)
     Type:  task (blessed)    |     Status:  new
 Priority:  normal            |  Milestone:  6.0
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  early
  Focuses:                    |
------------------------------+--------------------
 While updating packages for WP 5.9 I noticed build errors due to new
 JavaScript syntax such as `??=` appearing in `@wordpress/components`. We
 worked around this [https://github.com/WordPress/gutenberg/pull/36484 by
 removing the new syntax] but I suspect the true cause of the problem is
 that Core needs to upgrade from v4 of webpack to v5. We should look into
 doing this for the next major release.

 https://webpack.js.org/migrate/5/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54485>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list