You can pass mode param in the webpack config or cli command.
Config: mode: 'development' or mode: 'production'
CLI: webpack --mode development or webpack --mode production
You can pass mode param in the webpack config or cli command.
Config: mode: 'development' or mode: 'production'
CLI: webpack --mode development or webpack --mode production