From eded1a61618765c867aa6e51d6a8737648543fb7 Mon Sep 17 00:00:00 2001 From: andres alcocer Date: Tue, 8 Feb 2022 19:02:17 -0500 Subject: [PATCH] console.log dotenv 4 --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index a10f455..d0c88f7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -10,7 +10,7 @@ module.exports = () => { // call dotenv and it will return an Object with a parsed key const env = dotenv.config().parsed console.log('process------', process.env) - console.log('env------', dotenv.config()) + console.log('env------', $API_KEY) // reduce env variables to an oject const envKeys = Object.keys(env).reduce((prev, next) => {