-
Notifications
You must be signed in to change notification settings - Fork 833
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
Can't resolve babel-runtime - doesn't work with Babel v7 #228
Comments
Did anyone fix this trouble in any way? I faced it with Babel 7, and find no way to resolve uncompability, except make a fork of |
Currently i have this on one of the projects i'm working on. A quick fix is to just require the |
It seems like another reasonable fix would be for emoji-mart to not bundle babel-runtime in its |
Building a project that includes
emoji-mart
but notbabel-runtime
fails:I see in
.babelrc
that some Babel imports are aliased to polyfills by themodule-resolver
plugin, but not all of them, so the dist files depend on packages that aren't necessarily installed.For example, this can happen if a project is using Babel v7, which has different package names.
Perhaps the project should explicitly include Babel in
dependencies
instead ofdevDependencies
, or else make sure all the imports are covered by polyfills?The text was updated successfully, but these errors were encountered: