picostitch
crafting (and) JavaScript

browser field in npm's package.json

browser field in npm's package.json

The browser field is where the module author can hint to the bundler which elements (other modules or source files) need to be replaced when packaging.

Read this file for all the details.