grommet-cli
grommet-cli copied to clipboard
`grommet pack` does not consider .env file contents
how to reproduce:
- build a new project.
- create a .env file and set a variable in it like:
PORT=5050
- run
npm run dev
it serves it on the default port (3000).
the expected behaviour is serving the app on http://localhost:5050
looks like babel puts import
s statements above 'require`s so the pack scrip loads before dotenv has any chance to load the .env file.