You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Yes. For example, Vite's documentation says: The default allowed conditions are: import, module, browser, default, and production/development based on current mode.
Thanks for pointing them out. I think they are important for NPM package developers, so they can understand how to best provide code for browser, or server, or electron, etc.
Feature to document
Default export conditions that webpack allows, and any specifics around them. For example, if the list changes depending on anything.
Author(s)
No idea.
Additional information
https://github.com/webpack/webpack.js.org/blob/main/src/content/configuration/resolve.mdx
The document explains well pretty much everything, except the exact contents of the default conditions.
[ ] I am willing to work on this issue and submit a pull request.
The text was updated successfully, but these errors were encountered: