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
I want to build an app for browser and have its dependencies (and their dependencies) in a folder like dist/libs/ separately. I don't want to merge anything. Of course this would need to update all import targets as well. Is this possible? If I need to make a plugin myself, what methods should I use?
The text was updated successfully, but these errors were encountered:
You can probably manage to do this yourself. To rewrite import paths in a given file, you can enable bundling and then make each non-entry import an external path. And then you can use a queue that continues creating new entry points for each unique resolved module path and running more bundling operations until everything is processed. But it could make more sense to use a tool with built-in support for that. In any case, I can close this as a duplicate of #708.
Hello
I want to build an app for browser and have its dependencies (and their dependencies) in a folder like
dist/libs/
separately. I don't want to merge anything. Of course this would need to update all import targets as well. Is this possible? If I need to make a plugin myself, what methods should I use?The text was updated successfully, but these errors were encountered: