'How to get the npm script arguments in reactjs
How can i access these flags -
npm run start --appenv=development --build=mobile
here i want to achieve the value of appenv and build in my react code
Solution 1:[1]
npm run start -- --appenv=development --build=mobile
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | kennarddh |
