graphql.macro icon indicating copy to clipboard operation
graphql.macro copied to clipboard

Any hopes or suggestions for use with Rollup?

Open frederikhors opened this issue 5 years ago • 2 comments

Any hopes or suggestions for use with Rollup?

frederikhors avatar May 15 '19 00:05 frederikhors

What's the issue with Rollup? I would expect it to work as long you have Babel properly configured.

FezVrasta avatar May 16 '19 19:05 FezVrasta

I'm experimenting with Svelte 3 and svelte-apollo.

Then I found this https://www.apollographql.com/docs/react/recipes/babel.

Do you think it would be possible to build/compile ahead-of-time the graphql queries using svelte/template with something like babel-macro in create-react-app world with react-apollo?

I found nothing with rollup (I'm totally new with it). And the svelte-template project didn't use Babel for bundling.

frederikhors avatar May 16 '19 20:05 frederikhors