create-guten-block icon indicating copy to clipboard operation
create-guten-block copied to clipboard

How to use shorthand Fragment notation without errors

Open federicomagnani opened this issue 4 years ago • 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.

federicomagnani avatar Apr 18 '20 14:04 federicomagnani

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

cbou avatar Sep 24 '20 23:09 cbou