Skip to main content
  • Book
  • © 2020

Webpack for Beginners

Your Step-by-Step Guide to Learning Webpack 4

Apress

Authors:

  • Completely up-to-date for Webpack 4 with code you can use in your own projects

  • Suitable for complete beginners: will move you from zero knowledge to a Webpack hero

  • Written by a Webpack developer who has struggled with the documentation and wrote this book to help anyone in the same situation

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (8 chapters)

  1. Front Matter

    Pages i-xvi
  2. Webpack: First Steps

    • Mohamed Bouzid
    Pages 1-10
  3. Write Modular Code

    • Mohamed Bouzid
    Pages 11-20
  4. Loaders and Plugins

    • Mohamed Bouzid
    Pages 21-51
  5. Cache

    • Mohamed Bouzid
    Pages 53-68
  6. Resolving Folders

    • Mohamed Bouzid
    Pages 69-77
  7. Webpack DevServer

    • Mohamed Bouzid
    Pages 79-95
  8. Installing Third-Party Libraries

    • Mohamed Bouzid
    Pages 97-124
  9. Conclusion

    • Mohamed Bouzid
    Pages 125-125
  10. Back Matter

    Pages 127-129

About this book

Learn how to use Webpack from installation to configuration without the hassle of complex examples. Webpack has become one of the most popular module bundlers in recent years; it’s widely used by developers, companies, and organizations of all sizes, and many web frameworks use it for the management of their assets. If you are serious about web development these days then you must learn and understand Webpack.

You will begin by installing and configuring Webpack, and learn how to write modular code. You’ll then move onto understanding the usage of loaders and plugins with practical use cases, how to make aliases and resolve folders, cache busting, and installing third-party libraries such as jQuery, Bootstrap, QuillJS, and more. By the end of this book you will feel confident and ready to start using Webpack in your projects.

Free from complex examples and intended to be as easy-to-follow as possible, this book is ideal for anyone who knows basic HTML, JavaScript, and how to work on the command line. Upgrade your developer skillset using Webpack for Beginners today.

What You Will Learn

  • Install and configure Webpack beyond the default settings
  • Efficiently work with plugins and loaders
  • Optimize Webpack for production
  • Use instant refreshing with the Webpack dev server and hot module replacement
  • Explore how to install some common JavaScript libraries

Who This Book Is For

This book is conceived for beginners and newcomers to Webpack, and assumes you have some very basic knowledge in JavaScript, HTML and working on the command line. This step-by-step guide will help you understand and clarify everything you need to know to bundle your JavaScript hassle-free. 

Authors and Affiliations

  • NA, Morocco

    Mohamed Bouzid

About the author

Mohamed Bouzid has over 11 years' experience in technology and web development. From humble beginnings as a global freelancer, he has transitioned to the entrepreneurial world making products that people love and use every day. When not coding he can be found at the gym or at the coffee shop where he talks with friends about life, startups, and tech. 

Bibliographic Information

  • Book Title: Webpack for Beginners

  • Book Subtitle: Your Step-by-Step Guide to Learning Webpack 4

  • Authors: Mohamed Bouzid

  • DOI: https://doi.org/10.1007/978-1-4842-5896-5

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Mohamed Bouzid 2020

  • Softcover ISBN: 978-1-4842-5895-8Published: 26 June 2020

  • eBook ISBN: 978-1-4842-5896-5Published: 25 June 2020

  • Edition Number: 1

  • Number of Pages: XVI, 129

  • Number of Illustrations: 64 b/w illustrations

  • Topics: Web Development

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access