wordpress-develop/tests/phpunit/data/blocks
gziolo ad976addb3 Build: Split packages and blocks to their webpack configs
It aligns with the changes proposed added in Gutenberg: https://github.com/WordPress/gutenberg/pull/33293.

The idea here is to split the growing webpack config into two parts: blocks and  packages.

We need to add handling for JavaScript files that are going to be used with blocks on the frontend. They didn't work quite well with the current setup for entry points created for packages.

As part of the effort, it adds support for `viewScript` in `block.json` metadata file that is later translated to `$view_script` in `WP_Block_Type` class and exposed as `view_script` from the REST API endpoint for block types.

Props youknowriad, desrosj, aristath.
Fixes #53690.



git-svn-id: https://develop.svn.wordpress.org/trunk@51501 602fd350-edb4-49c9-b593-d223f7449a82
2021-07-28 10:05:01 +00:00
..
fixtures Block Editor: Update the WordPress packages for 5.6 beta 2 2020-10-27 09:32:50 +00:00
notice Build: Split packages and blocks to their webpack configs 2021-07-28 10:05:01 +00:00
pattern-directory Block Editor: Add support for the pattern directory. 2021-05-26 01:10:57 +00:00
do-blocks-expected.html Blocks: Parse blocks when displaying posts. 2018-12-13 18:11:10 +00:00
do-blocks-original.html Blocks: Introduce register_block_type(), unregister_block_type(), and get_dynamic_blocks() functions. 2018-12-13 09:53:10 +00:00