Summary

This chapter has given you an in-depth view of loaders and how they are used in Webpack. Loaders are fundamental to Webpack, but plugins are the core and backbone. This chapter took you through the major features of these topics, demonstrating the best uses for each and when it is a good time to switch between them.

We then explored plugins and how they are used, including Babel, custom plugins, and loaders. We have also looked at APIs and their usage, specifically APIs that facilitate a wider range of functionality within Webpack, such as the Babel and Node APIs.

In the next chapter, we will discuss libraries and frameworks. Our examination of plugins, APIs, and loaders has revealed that sometimes, we don't want to use remote code such as libraries, but other times we do. Webpack generally deals with locally hosted code, but there are times when we might want to work with libraries. This provides a good transition to that topic.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.199.210