Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix IE11 support and duplicate helpers by adding new Rollup config #274

Merged
merged 7 commits into from
Jun 8, 2019

Conversation

kitten
Copy link
Member

@kitten kitten commented Jun 7, 2019

Fix #273

  • This uses TypeScript, then Bublé, then Babel to transpile everything (heavy stuff I know)
  • Ensure rest spread helper is not duplicated
  • Ensure that Object.assign is transpiled away to guarantee IE11 compatibility
  • Integrate minification into Babel config

Before we had some duplicate helpers from Bublé in our bundle. So this is replacing Microbundle with a custom config.

We do ultimately have a replacement for Object.assign in our bundle, but that helps with IE11 compatibility, which is 💯

Ultimately it seems that the gzipped size actually remains the same! 🎉

@kitten kitten changed the title Fix build by adding manual Rollup config Fix IE11 support and duplicate helpers by adding new Rollup config Jun 7, 2019
@kitten kitten force-pushed the fix/rollup-build branch 11 times, most recently from 5e57439 to ad6a72c Compare June 7, 2019 17:16
@kitten kitten force-pushed the fix/rollup-build branch from 0756d8f to 1265f25 Compare June 8, 2019 13:15
@urql-graphql urql-graphql deleted a comment from codecov-io Jun 8, 2019
@kitten
Copy link
Member Author

kitten commented Jun 8, 2019

Merging this since this replaces Travis CI, which is now switched off 👍 Nothing critical has changed though

@kitten kitten merged commit 5225c81 into master Jun 8, 2019
@kitten kitten deleted the fix/rollup-build branch June 8, 2019 13:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant