Webpack caching pt 2 - Extracting dependencies

preview_player
Показать описание
In this second video I will show you how to extract your project dependencies in to a separate file so that you can improve the reoccurring users load time.
Рекомендации по теме
Комментарии
Автор

Hello Fredrik Christenson, I liked the way you explain in depth of the concept . I am quite new to webpack and was finding it very hard to grasp the benefit the webpack offers in development . I got some understadning watching your videos that it is a bundler which bundles all our depenedencies so that we dont need to think about which files to include in specific order in the html file as script tag . what i still find difficult is entry file that we give to the webpack, how can I know which one is my entry point and why do we even need a entry point for it ? Next question is what are the benefits of using webpack in my vanilla JS projects if i am not using any kind of libraries like react, polymer and so on . Is it needed in my vanilla JS project that i often by including scripts tag for my dependencies like jquery loadash and so on . I want to understand what was the problem before webpack and how it solves for us ? what are these plugins and loaders in webpack ? I am finding it very difficult to grasp . Could you please make a video which kind of explains the problems and how is it going to solve it for us in some practical use cases instead of making a simple demo which kind of many people show .

aakashgautam