Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

How to use shorthand Fragment notation without errors #276

Open
federicomagnani opened this issue Apr 18, 2020 · 1 comment
Open

How to use shorthand Fragment notation without errors #276

federicomagnani opened this issue Apr 18, 2020 · 1 comment

Comments

@federicomagnani
Copy link

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
Copy link

cbou commented Sep 24, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants