I was wondering if anyone knows how to use https on dev for the \'create-react-app\' environment. I can\'t see anything about that in the README or quick googling. I just wa
set HTTPS=true&&react-scripts start in scripts > start: of package.json as shown below.
"scripts" in package.json:
"scripts": {
"start": "set HTTPS=true&&react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
HTTPS=true && npm start won't work. Refer it in official doc. Using HTTPS in Development
(Note: the lack of whitespace is intentional.)