Closed jasan-s closed 3 years ago
You need a node process defined first, perhaps you could create a script that loads your env first?
// init.js
require('dotenv').config()
// package.json
{
...
"scripts": {
"start": "node init && webpack server"
}
}
Closing, but feel free to mention if that isn't correct.
i.e "start": "APP_ENV=dev webpack serve",