1. 6
    Control the Output of webpack with the mode Setting
    3m 27s

Control the Output of webpack with the mode Setting

Share this video with your friends

Send Tweet

As of webpack version 4, there is a top-level configuration option called mode. Mode allows us optimize for build speed during development, while optimizing for runtime performance and smaller bundles for production builds. In this lesson, we'll add the mode key to our webpack configuration and look at the difference in output between the production and development settings.