From 48688dd502bedc6da5cbd88ff0e7bf6026b6ffa0 Mon Sep 17 00:00:00 2001 From: andres alcocer Date: Tue, 8 Feb 2022 19:08:40 -0500 Subject: [PATCH] console.log dotenv --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index a10f455..a556008 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -9,7 +9,7 @@ var path = require('path') 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('process------', process.env.API_KEY) console.log('env------', dotenv.config()) // reduce env variables to an oject