create-guten-block
create-guten-block copied to clipboard
How to use shorthand Fragment notation without errors
Hi,
thanks for this great tool.
I would like to use in my blocks the Fragment shorthand notation <> ... </>
Unfortunately, when I 'compile' the code with that component, an error is thrown: 'Syntax error: Unexpected token'.
I have already ejected the block... could you tell me how to customize the scripts or webpack configuration in order to be able to use this notation?
Thanks a lot.
Any idea how to solve this? I'm currently blocked by this issue :/