when i tried to get the value from .env file, it says undefined, i have defined variable in .env `API_URL`, is there anything which i am missing in react js ? i am using dotenv npm, can anyone please help me how to resolve this issue ? here i have uploaded my code, any help will be really appreciated

```
const dotenv = require('dotenv');
const fs = require('fs');
alert(process.env.API_URL);

```

.env

```
API_URL=https://********/api/v1/

```