cheerio icon indicating copy to clipboard operation
cheerio copied to clipboard

Add a field `browser` to `package.json` root

Open UNIDY2002 opened this issue 1 year ago • 0 comments

Fixes https://github.com/cheeriojs/cheerio/issues/4032

Some bundlers (e.g. react-native) requires the field browser at package.json root to find the correct resolution entry points. (Reference: https://metrobundler.dev/docs/configuration/#resolvermainfields)

This PR adds the correct entry point for browsers to package.json.

UNIDY2002 avatar Aug 16 '24 05:08 UNIDY2002