From 1ddfa70e20b0b18461ec76c74d29ba1f56c298e9 Mon Sep 17 00:00:00 2001 From: Khalifa Lame Date: Tue, 1 Oct 2019 09:49:05 +0400 Subject: [PATCH] support .env config --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 55c8ce335..d2ccd8247 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,6 +3,7 @@ const path = require("path"); const webpack = require("webpack"); const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin"); const HtmlWebpackPlugin = require("html-webpack-plugin"); +require('dotenv').config(); const resolve = path.resolve.bind(path, __dirname);