Created by: RomainTHD
See issue #12440 .
In package.json
, with the following script "start": "set BROWSER=none && react-scripts start"
,
the value of process.env.browser
will be "none "
on Windows, which will open the browser since it is different from "none"
.