Closed blakeembrey closed 3 years ago
The browser entries should be relative when replacing files within the current package, otherwise it assumes that you're trying to change a module that doesn't exist and uses the node.js version anyway.
Browser field spec: https://github.com/defunctzombie/package-browser-field-spec. This should fix bundling for browsers, currently I get stuck when resolving core-js.
core-js
This had some conflicts with the other commits, but the fix was applied. Thanks.
The browser entries should be relative when replacing files within the current package, otherwise it assumes that you're trying to change a module that doesn't exist and uses the node.js version anyway.
Browser field spec: https://github.com/defunctzombie/package-browser-field-spec. This should fix bundling for browsers, currently I get stuck when resolving
core-js
.