Closed mesqueeb closed 1 year ago
I'm not sure what the travis error is...
I am using this with React Native and I am able to import this library just fine like this:
import emojiRegex from 'emoji-regex'
So I don't really understand why this PR is needed 🤷♂️
Thanks @mesqueeb!
@henrikra you can because react native transpile the code. But you couldn't do that using only the platform. ES modules is supported in most browsers (80.79%) and you can use it without webpack, rollup or whatever.
Pika project explain very well the issue: https://www.pikapkg.com/about/
Fixed by #99.
https://github.com/mathiasbynens/emoji-regex/issues/36