diff options
author | 2021-01-03 04:33:52 +0300 | |
---|---|---|
committer | 2021-01-03 04:33:52 +0300 | |
commit | 688ffb530c7c12a10666462dd0bc30b6cec5064f (patch) | |
tree | 06a2f4bdd575aa0dfd8606b165ebff3d4397574d /webpack.config.js | |
parent | Typo fix in GHA (diff) |
Cleans Up Dependencies
Updates package.json to keep only the bare minimum required for
production in dependencies.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index 2d13ac2..93e7e9d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -2,7 +2,7 @@ const path = require("path") const HtmlWebpackPlugin = require("html-webpack-plugin"); const CopyPlugin = require('copy-webpack-plugin'); const webpack = require("webpack") -require("dotenv").config(); +if (process.env.NODE_ENV === "development") { require("dotenv").config(); } module.exports = { entry: "./src/index.tsx", |