**Describe the bug** <!-- A 💯 way to do this is to provide your configuration via a GitHub gist and/or to use markdown when describing which commands you used when the error occurred! Be precise and clear in your description of the bug. --> `--mode` is accepting any value and outputs development build. I can pass `--mode=abcd` , and it produces the build(development).  **Expected behavior** It should accept only `production , development or none` <!-- A clear and concise description of what you expected to happen. -->