Автор: Juho Vepsalainen, Tobias Koppers, Jesus Rodriguez Rodriguez
Издательство: Leanpub
Год: 2022-10-26
Страниц: 301
Язык: английский
Формат: pdf (true), mobi, epub + Extras
Размер: 10.2 MB
Webpack, a module bundler, is a powerful tool that helps you to develop complex web applications. "SurviveJS - Webpack" is meant for beginner to intermediate users of the tool that want to understand webpack better.
Web browsers consume HTML, CSS, jаvascript, and multimedia files. As a project grows, tracking all of these files and adapting them to different targets (e.g. browsers) becomes too complicated to manage without help. Webpack addresses these problems. Managing complexity is one of the fundamental issues of web development, and solving this problem well helps significantly.
"SurviveJS - Webpack 5" has been built around a tutorial during which you develop a complex configuration while covering different facets of Webpack. The 34 short chapters and six appendices work as a reference you can use while developing your web applications. The book has been written with Webpack 5 in mind.
Even though the book has been designed around Webpack, many of the techniques covered go beyond it. You will learn to improve the quality of your code while becoming aware of optimization techniques that help you to deliver more performant web applications.
The book was developed in collaboration with the webpack community, and its structure has evolved accordingly. A third of royalties go to Tobias Koppers, the author of the tool. The writer is a core developer of webpack so by purchasing this book you will support the effort in multiple ways.
What will you learn:
This book has been written to complement the official documentation of webpack and it helps you to get through the initial learning curve and go further. You will learn to develop a composable webpack configuration for both development and production purposes. Advanced techniques covered by the book allow you to get the most out of webpack.
The content has been split as below:
Foreword by Tobias Koppers, the author of webpack
Preface by Juho Vepsäläinen, the author of the book and a core developer of webpack
What is Webpack? - Learn what makes webpack tick
Developing - Set up a development environment on top of webpack
Styling - Load and manage styles while learning about topics like autoprefixing and eliminating unused CSS
Loading Assets - Load different asset types and process them
Building - Write initial build with webpack and learn techniques like bundle and code splitting
Optimizing - Learn to optimize the build results by minifying, tree shaking, and other techniques
Output - Understand webpack's output formats, multiple page builds, and module federation
Techniques - Learn specific techniques related to topics such as testing and consuming packages
Extending - Extend webpack with loaders and plugins
Conclusion - Recap core techniques
Appendices - Learn how webpack compares with other tools, how to set up Hot Module Replacement, troubleshoot webpack
The Leanpub edition comes with a two page PDF cheatsheet that covers the main ideas of webpack in a compact format. It's also available in poster form (single A3, either portrait or landscape). You also get a ~20 page QA PDF where Tobias Koppers, the creator of the tool answers to tough questions.
Скачать SurviveJS - Webpack 5 : From apprentice to master