ahmadawais/create-guten-block

How to use shorthand Fragment notation without errors

federicomagnani opened this issue · 1 comments

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.

cbou commented

Any idea how to solve this?
I'm currently blocked by this issue :/