node-source-map-support icon indicating copy to clipboard operation
node-source-map-support copied to clipboard

Add browser field to package.json

Open timkendrick opened this issue 8 years ago • 0 comments

Webpack and Browserify both automatically check for a browser property in package.json when resolving external module paths:

https://webpack.js.org/configuration/resolve/#resolve-mainfields https://github.com/browserify/browserify-handbook#browser-field

This PR ensures that the correct version will be used when bundling via webpack or Browserify.

timkendrick avatar Dec 28 '17 17:12 timkendrick