niksy / node-stdlib-browser

Node standard library for browser.
MIT License
188 stars 13 forks source link

Resolve module to full implementation #11

Open niksy opened 3 years ago

niksy commented 3 years ago

This is useful so we can:

Use browser field resolving for specific modules (e.g. Browserify module such as process use browser field) and for other rely on main/module/exports.

niksy commented 2 years ago

There are module which have multiple browser-specific entries so this can potentially be harmful.

niksy commented 1 year ago

Consider using enhanced-resolve for this.