⊗tlWpPnEO 17 of 55 menu

Webpack Entry and Exit Points

In this section we will study the entry and exit point settings. For now we only have one setting entry, which specifies the entry point:

export default { entry: './src/index.js', };

Since no exit point is specified, by default Webpack will bundle everything into a single file main.js, located in the dist folder. In the next tutorials, we will learn how to set different entry and exit point settings.

cspteskauz