'Do you need to specify CRACO how to run react-dotenv before react-script? If so, how?
Reading the doc here it specify
"start": "react-dotenv && react-scripts start", // <-- append command
Where can I redefine the craco start
command? It should run react-script
by default, but i'm not sure it will know that it now should run react-dotenv
too. It seems to be working though so maybe it does?
Thanks for the help, not posting often so feedback welcome if the format is missing things.
I'm using react and typescript.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|