browserify / browserify/browserify

Alternative for "browser" key with higher priority

Open
#1,694 20 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I've stumbled upon this issue in https://github.com/mwilliamson/mammoth.js/pull/106

`browser` key is widely used for defining which file should be used in browser environment. Some tools might use this field optionally, but they also have an alternative which is tool-specific, for instance, [in webpack](https://webpack.github.io/docs/configuration.html#resolve-packagemains).

Could you add support for something like `browserify.browser` with higher priority in addition to `browser`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.