Description
Related to webpack v5 migration: #33818.
If I add a output-path, the build files are renamed to main.js and main.asset.php. Without the parameter, the filename doesn't change.
Step-by-step reproduction instructions
wp-scripts build --entry ./src/index.js --output-path=custom
Environment info
Description
Related to webpack v5 migration: #33818.
If I add a
output-path, the build files are renamed tomain.jsandmain.asset.php. Without the parameter, the filename doesn't change.Step-by-step reproduction instructions
wp-scripts build --entry ./src/index.js --output-path=customEnvironment info