Closed lxe closed 6 years ago
Ohh this is interesting, thanks a lot for the help! So if I understand correctly, we replace the the module
or esnext
value with browser
, but don't check if the browser
field is a string?
Ah, taking a second look now I see what you mean! Merging it in now, thanks a lot for the contribution!
For example, if we have
Like https://github.com/fusionjs/fusion-tokens/blob/master/package.json#L11
codesandbox will thrown an error:
Maybe we should blacklist these individual files, but I think this is OK for a short term fix