Wordpress/tools/webpack
Grzegorz (Greg) Ziółkowski 84f4d42cbb Build: Copy block metadata files for dynamic blocks.
For dynamic blocks, there are several blocks whose metadata needs to be loaded in PHP. The attributes that are loaded via PHP are not exposed to the ReactNative components when Gutenberg loads the index.js files in the Mobile Apps. To support one master set of metadata that can be used to register in the PHP files and the Javascript files; with this patch, the block.json files are copied over with their corresponding PHP files.

Props chipsnyder and azaozz.

Fixes #49196.



git-svn-id: https://develop.svn.wordpress.org/trunk@47168 602fd350-edb4-49c9-b593-d223f7449a82
2020-02-02 19:17:07 +00:00
..
media.js Build tools: Allow building WordPress to src. 2018-12-24 13:28:22 +00:00
packages.js Build: Copy block metadata files for dynamic blocks. 2020-02-02 19:17:07 +00:00