Closed laggingreflex closed 7 years ago
Very interesting...
It might be better to make the "fix" in a branch, and push that up and target that branch in your package.json
.
If it works like you are saying, I could just merge that branch in.
I wasn't sure whether it'll work for all node/browser versions you wish to support without it. It definitely does in node 7 though.
I also came across this: https://github.com/andrew-w-ross/babel-polyfill-safer/
Please use v2.0.1
There is no polyfill there
I'm using it in a project in node that already has
babel-polyfill
imported once, and it seems wikijs is also import it again so it's giving this error:Edit: It works for me if I remove the babel-polyfill dependency (the tests pass too, at least on node 7). I've published a package without babel-polyfill
wikijs-33
in the meanwhile this is resolved, I needed it quickly in production, hope you don't mind. Awesome lib btw +1