Fixed
- Runtime JSX files now transpile correctly when
wp-block-grabis consumed fromnode_modules/with@wordpress/scripts≥ 31. Previously, runningwp-block-grab startin a consumer plugin failed withModule parse failed: Unexpected token (43:2)on<PluginMoreMenuItembecause the upstreambabel-loaderrule carriesexclude: /node_modules/, skipping the runtime entirely. The webpack config now carves theruntime/directory out of that exclude so its JSX runs through the consumer's Babel pipeline. Emits a console warn if no matching rule is found, so a future upstream reshape fails loudly instead of silently. - All published versions
1.0.0–1.0.5were affected on modern@wordpress/scriptsversions; upgrade to1.0.6to unblock.
Internal
- Bumped dev dependency
@wordpress/scriptsfrom 30.27.0 to 31.6.0 (peer dependency range unchanged at>= 26). - Transitive dependency updates via Dependabot.
Full Changelog: 1.0.1...1.0.6