Email the Author

You can use this page to email Sha Alibhai about Webpack 2.

Please include an email address so the author can respond to your query

This message will be sent to Sha Alibhai

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

In Webpack 2 - A Build Tool for Modern JavaScript Applications we start by creating a sample application containing some of the most common features of a web application, and then use Webpack to serve, cache and optimize the project assets. Each chapter works as a reference for a different topic, meaning the book can be read just as well in or out of order.

Amongst other things, in this guide we'll go through:

  • The difference between module bundlers and task runners
  • How to install Webpack and create our first configuration file
  • How to use the Webpack Dev Server to serve, watch and refresh only the parts of the application that change without having to do a full page reload
  • How to install Babel to be able to utilize ES6 functionality
  • How to use Source Maps to aid in debugging
  • How to split code into smaller bundles and lazy load them only when they're needed
  • How to utilize tree shaking to remove any code that our project doesn't use
  • How to create environment specific configuration so that we can harness the full power of Webpack in both our development and production environments

Although this guide is a complete guide for Webpack that goes from creating a basic configuration all the way to splitting configuration based on unique environment requirements, it is regularly updated with bonus chapters containing tutorials on new and interesting features and plugins as they come out. Some exciting chapters already in the works are:

  • Loading and transpiling TypeScript files
  • Loading and transpiling SASS/LESS stylesheets
  • Creating and running tests with Karma
  • Automatically linting code with JSLint
  • Supporting multiple languages using internationalization
  • Autoprefixing and removing unused styles in CSS
  • Utilizing Web Workers
  • Automatically installing NPM packages simply by requiring them in your code

About the Author

Sha Alibhai’s avatar Sha Alibhai

@hashtagcoder

Sha has been a Software Developer for over 18 years with a BSc in Computing from Coventry University in the UK interested predominantly in web and mobile technologies.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Webpack2 › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss