DEV Community

Muhammad
Muhammad

Posted on

How to use process.env variables correctly in a webpack-based NodeJS app deployed to Heroku?

You should set "target":"node" in the webpack.config.json file.

Latest comments (0)