diff options
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/server/webpack.config.js | 2 | ||||
-rw-r--r-- | vnext/webpack.config.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vnext/server/webpack.config.js b/vnext/server/webpack.config.js index a58f858c..364f4414 100644 --- a/vnext/server/webpack.config.js +++ b/vnext/server/webpack.config.js @@ -3,7 +3,7 @@ const ESLintPlugin = require('eslint-webpack-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 = { diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 16e5a135..47bf98f9 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -5,7 +5,7 @@ const HtmlWebpackPlugin = require('html-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 = { |