Skip to content
New issue

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

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

Already on GitHub? Sign in 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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant