-
Notifications
You must be signed in to change notification settings - Fork 83
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
Support for IE11 #211
Comments
For now we do not officially target the browser. We are open to find a solution for the |
I tried to experiment with replacing It would be helpful if you could tell me what's the expected result needed here. |
We had the same problem. I think the better solution is to ship |
I'm not sure we should rewrite I think @lahmatiy have a point, the solution could be at build time. I will give a try to https://github.com/SamVerschueren/babel-engine-plugin It could allow us to compile |
it would work if I tried using https://github.com/SamVerschueren/babel-engine-plugin in my app but that didn't work for me 😞 |
After thinking to this, I guess the only real solution is to introduce a bundler (webpack? rollup.js?) to build a dedicated version of the library for the web. This bundled version will became the default one exposed in the This will a lots of build/maintenance overlay in our side but I think this could worth it 👍 |
@Spy-Seth It's worth keeping in mind to try and make the dist as small as possible (to prevent package duplication) I definitely think this would be worth it! this could be made simple with an npm script and hooking into |
Here it is: #242 |
Is the browser PR OK to merge/release? |
I just need to update the PR with the last change in the upstream and we could merge it ;) |
Is there any update on this? |
Any update? |
Hi! 👋 I think this may not have been fixed in https://unpkg.com/react-element-to-jsx-string@14.0.0/dist/cjs/index.js
https://github.com/algolia/react-element-to-jsx-string/blob/master/rollup.config.js#L28 |
@danoc If you have a way to solve this in a nice way then yes submit it, up for it! |
This currently the latest version of
stringify-object
unfortunately it isn't published with an ES5 compiled version.I opened an issue there to publish an ES5 compliant version.
In case this won't get approved, I'm willing to make a PR to make the required changes to support IE11 😃
The text was updated successfully, but these errors were encountered: