wp-scripts: using --experimental-modules causes TypeError: config.plugins is not iterable
when webpack.config.js is extending plugins.
#60537
Labels
Needs Testing
Needs further testing to be confirmed.
[Package] Scripts
/packages/scripts
[Type] Bug
An existing feature does not function as intended
Description
Reduced
webpack.config.js
. Works perfectly fine without--experimental-modules
commandline:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
@wordpress/scripts@27.6.0
node -v
v21.7.2
npm -v
10.5.0
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: