Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#54485 closed task (blessed) (duplicate)

Build tools: Upgrade webpack to v5

Reported by: noisysocks Owned by:
Priority: normal Milestone:
Component: Build/Test Tools Version:
Severity: normal Keywords: early
Cc: Focuses:

Description

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 ​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/

Change History (1)

#1 @desrosj
5 years ago

  • Milestone 6.0
  • Resolution → duplicate
  • Status new → closed

Duplicate of #51750.

Note: See TracTickets for help on using tickets.