Pedro Henrique de Assis
Pedro Henrique de Assis
I tried doing this and it's not simple. Your build generates a file with the requires core-js directly. Removing these straight from the built files fixes the problem, my build...
I ended up forking this repo, adding a prepare script required for npm@5 Also removed most of the build configs from babel.config.json https://github.com/HandleCollections/react-stickynode I don't think this can be merged...
@redonkulus its using v2, indeed removing it prevents the build. I am guessing I could find a build setting that doesn't add the core-js requires, but still builds the rest....
I have multiple libs using v2, some weirdly using v3 without causing the same issues. I'm guessing those aren't really used. Any chance you could add another build using core-js...
@redonkulus I believe the best way would be not to rely on polyfills at all. Use babel to transpile straight to es5, that way no compat issues could arise. I...