Closed mvayngrib closed 9 years ago
What does @substack think about this? Are any other tools offering this functionality?
This could be a useful feature and straightforward to implement. It would also be useful on the browserify side to turn off the browser field entirely in some cases.
@mvayngrib want to take a stab at a PR please?
sure, I'll take a stab
https://github.com/substack/node-browserify/issues/1094
when I browserify for a Chrome app, I want a slightly different mapping than I specify in the "browser" field. It would be cool if I could have an arbitrarily named field and tell browserify to use that instead of "browser", e.g.
and
it would then default to "browser"