@wordpress/build is a new build tool for WordPress plugins that replaces webpack and Babel with esbuild, offering significantly faster builds and zero-config convention-based discovery. It auto-generates PHP script registration files from package.json conventions, supports scripts, script modules, and styles in a single pass, and already powers all 100+ Gutenberg packages. The tool uses fixed folder conventions (packages/, routes/, blocks/ proposed) and a namespace model for cross-plugin dependency externalization. The long-term plan is for it to become the internal engine of @wordpress/scripts, so wp-scripts build continues to work but gets faster with auto-generated PHP. The API is still being shaped and the team is actively seeking feedback from plugin developers, especially around block plugin structure, monorepo-free setup, and the externals/namespace model.
Table of contents
The visionA faster and simpler build processHow it worksThe namespace modelWho should engage with it todayHelp shape the toolThe convergence roadmapResources1 Comment
Sort: