Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve module to full implementation #11

Open
niksy opened this issue Nov 23, 2021 · 2 comments
Open

Resolve module to full implementation #11

niksy opened this issue Nov 23, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@niksy
Copy link
Owner

niksy commented Nov 23, 2021

This is useful so we can:

  • skip special Webpack configuration for ESM configuration
  • remove special behavior for @rollup/plugin-node-resolve and browser entries

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 niksy added the enhancement New feature or request label Nov 23, 2021
@niksy niksy self-assigned this Nov 23, 2021
@niksy niksy added the question Further information is requested label Nov 23, 2021
@niksy
Copy link
Owner Author

niksy commented Dec 8, 2021

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

@niksy
Copy link
Owner Author

niksy commented May 8, 2023

Consider using enhanced-resolve for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant