Description
Related to webpack v5 migration: #33818.
Using the latest @wordpress/scripts (18.0.0), building with a custom entry point is not possible (npx wp-scripts build ./src/frontent/index.js).
[webpack-cli] Unknown command or entry 'index=./src/frontend/index.js'
[webpack-cli] Run 'webpack --help' to see available commands and options
Works normally without the optional path.
Works as expected in 17.1.0.
Step-by-step reproduction instructions
- Install
@wordpress/scripts@latest
- Run
npx wp-scripts build <some path>
Screenshots, screen recording, code snippet
No response
Environment info
- Ubuntu 18.04
- Node v14.17.5
Pre-checks
Description
Related to webpack v5 migration: #33818.
Using the latest
@wordpress/scripts(18.0.0), building with a custom entry point is not possible (npx wp-scripts build ./src/frontent/index.js).Works normally without the optional path.
Works as expected in 17.1.0.
Step-by-step reproduction instructions
@wordpress/scripts@latestnpx wp-scripts build <some path>Screenshots, screen recording, code snippet
No response
Environment info
Pre-checks