So webpack 4 added a mode option. And it’s required. (Actually it’s not required but it will warn you if you omit it.) webpack 4 now ships with two sets of defaults. development and production. These are the two values to which mode can be set to. The development defaults will give you the best* development experience focusing on: Tooling for in browser debuggingFast incremental compilation for a