HIDE PLAYLIST
1
Download in HD10s25s

Grouping vendor files with the Webpack CommonsChunkPlugin


Often, you have dependencies which you rarely change. In these cases, you can leverage the CommonsChunkPlugin to automatically put these modules in a separate bundled file so they can be cached and loaded separately from the rest of your code (leveraging the browser cache much more effectively).

Find the code for this lesson on Github

The branch name corresponds to the lesson.

FIND THE CODE ON GITHUB