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
In webpack 5, it is now possible to define dependOn in an entry description in order to share the modules from one entry chunk to another. Such like this:
I would like to know what is the difference between both of these configurations? Indeed, doing that I expected to have the same ouput but it is quite different. You can find a reproducing example here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In webpack 5, it is now possible to define
dependOn
in an entry description in order to share the modules from one entry chunk to another. Such like this:However, it is also possible to define an entry and makes it as
externals
such like this:I would like to know what is the difference between both of these configurations? Indeed, doing that I expected to have the same ouput but it is quite different. You can find a reproducing example here.
Beta Was this translation helpful? Give feedback.
All reactions