diff options
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 7361552b..5487e690 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,7 +4,7 @@ const ESLintPlugin = require('eslint-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const TerserPlugin = require('terser-webpack-plugin'); -module.exports = (env, argv) => { +module.exports = () => { const node_env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development'; const dev = node_env !== 'production'; const config = { |