0

I want to run webpack with some key like

./bin/webpack -stateless 

OR

./bin/webpack stateless=true 

and check later in config if stateless is true do something, if not do another thing.

user2791999
  • 179
  • 2
  • 14
  • https://stackoverflow.com/questions/44113359/passing-command-line-arguments-to-webpack-config-js – Amir Jun 02 '22 at 16:43
  • Does this answer your question? [Passing command line arguments to webpack.config.js](https://stackoverflow.com/questions/44113359/passing-command-line-arguments-to-webpack-config-js) – Amir Jun 02 '22 at 16:43

0 Answers0