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
Currently the vendors and polyfills bundles are created as separate entry points. However, in Webpack 4 this is not acceptable. From the documentation:
In webpack version < 4 it was common to add vendors as separate entrypoint to compile it as separate file (in combination with the CommonsChunkPlugin). This is discouraged in webpack 4. Instead the optimization.splitChunks option takes care of separating vendors and app modules and creating a separate file. Do not create an entry for vendors or other stuff which is not the starting point of execution.
The text was updated successfully, but these errors were encountered:
stilettk
changed the title
Stop splitting bundles as separate entry points in Webpack 4
Use optimization.splitChunks instead of separate entry points (Webpack 4)
Feb 27, 2019
Currently the
vendors
andpolyfills
bundles are created as separate entry points. However, in Webpack 4 this is not acceptable. From the documentation:The text was updated successfully, but these errors were encountered: