1×
Become a member
to unlock all features
Autoplay

    Control the Output of webpack with the mode Setting

    webpackwebpack

    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.