kvendrik / intercom-react

💬 An Intercom component for React.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: only one instance of babel-polyfill is allowed

emorling opened this issue · comments

I get this issue using this plugin. Any ideas?

Hey @emorling,

Yeah so the library currently imports babel-polyfill as well which is not good don't have a solution for this yet, its part of the open problems with the build which is why this project is still WIP. I'm very open to a PR that would help fix this of course.

@kvendrik just installed this package and still getting this error. I noticed in NPM that the last publish of this package was 6 months ago, can you publish a new version with this fix?

@maccuaa the issue was fixed in #11. The package is however still WIP and not ready for use yet. Feel free to contribute to the final steps needed to get the alpha out. In the meantime I recommend using a package like react-intercom if that works for your use-case (it mounts Intercom to the global scope).

@kvendrik any items in particular? It looks like there are already tests for basic Intercom functionality like user data and location change.

@maccuaa the last items are in the description of the PR. It's basically to add borderless frame support.