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
{{ message }}
Repository navigation
[Feature Request]: extend onResolve plugin hook to include import attributes in import-statement #3639
if the onResolve hook would have the entire import information a plugin could implement much better splitting strategy based on native imports.
The idea is, if a plugin can collect all the imported named symbols from a specific import-statement request, it could externalize the request and generate a esm bundle (with correct exports) from a cjs/umd module like react.
my goal is to optimize large code base watch mode by externalizing modules to separate builds.
Activity
fix evanw#3639, fix evanw#3646: pass `with` to `onResolve`