From e7bd4e7eda8869f1b0db87d04c8271ebd7100150 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 7 Mar 2023 13:17:32 +0300 Subject: Cleanup some linter errors and warnings --- vnext/server/webpack.config.js | 2 +- vnext/webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vnext') 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 = { -- cgit v1.2.3