The custom blocks task consideres every *.js and *.scss file (and variations) in the root of the block folder as entrypoints. This results in a lot of unnecessary files in the dist folder.
Can the blocks task perhaps read the block.json file and discover the script entrypoints from script, style, editorScript, editorStyle, etc?
The custom
blocks
task consideres every*.js
and*.scss
file (and variations) in the root of the block folder as entrypoints. This results in a lot of unnecessary files in the dist folder.Can the
blocks
task perhaps read theblock.json
file and discover the script entrypoints fromscript
,style
,editorScript
,editorStyle
, etc?