urql-graphql / urql-devtools-exchange

The exchange for usage with Urql Devtools
https://www.npmjs.com/package/@urql/devtools
MIT License
54 stars 6 forks source link

(chore) - bundling #4

Closed JoviDeCroock closed 5 years ago

andyrichardson commented 5 years ago

@JoviDeCroock thanks for this! Looks good.

Is there an advantage to using the typescript plugin provided for rollup as opposed to babel? I've only ever used the babel plugin.

JoviDeCroock commented 5 years ago

Babel seems to compile when there are type errors, I don't really like that :D in libraries I always use the plugin.

kitten commented 5 years ago

@andyrichardson @jovidecroock we've probably also reached a point where we may want to create a "preset" package for this rollup config 😅

It's currently the same between all urql packages, which is awesome ✨, because some time has gone into it to make sure we get the most compact output! However, I dread the day when we have to manually upgrade it across all repos 😅

JoviDeCroock commented 5 years ago

@kitten I'll make work of this tomorrow if you like