Apium Hub
Despite being widely used today, Webpack is still a black box for many developers who simply use an existing configuration without knowing how it really works.
So, today we will cover some of the key parts of Webpack to help you understand its operation and to be able to optimize our Webpack configuration according to our needs.
For this we will start explaining some Webpack modules and we will see how they can help us.
Webpack modules Modules
Using Webpack modules we can divide our code into different files, so that each file has a single responsibility, which will make our code much more understandable and easy to test.
In order to carry it out we will use the ES6 imports as they allow us to import and export our dependencies to use them in other modules. Despite being very useful, the use of imports without control can generate performance problems
To read the full article click on the 'post' link at the top.