DEV Community


Discussion on: Learning Webpack Concepts and Creating your Custom Webpack Plugin.

jasmin profile image
Jasmin Virdi Author

Yes. So there is a dependency graph which helps to figure out which files need to be loaded first and what all modules are dependent on it. The entry file which you specify in the configurations is the entry point of dependency graph.

Most of the frameworks like Vue, React has App.js file which includes the root instance to render the app component. This file is generally used as entry point unless you want to configure it. You can pass multiple entry points to generate smaller bundles as well.

You can refer this for more details on configuring multiple entry points.

Thread Thread
shaijut profile image
Shaiju T

Nice writeup, Thank you all for the answers. Appreciate. :)