webpack 4: mode and optimization – webpack – Medium

webpack adds a mode option. What does that mean?