From 113aad6db5d2b8d677f638dceb60e8a3f58059f0 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Tue, 5 Jan 2021 19:24:51 -0500 Subject: [PATCH] meta: remove unnecessary variable --- pkg/interface/config/webpack.prod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/interface/config/webpack.prod.js b/pkg/interface/config/webpack.prod.js index 556669fd0..8e8e6191c 100644 --- a/pkg/interface/config/webpack.prod.js +++ b/pkg/interface/config/webpack.prod.js @@ -4,7 +4,7 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const MomentLocalesPlugin = require('moment-locales-webpack-plugin'); const webpack = require('webpack'); -module.exports = (env) => return { +module.exports = { mode: 'production', entry: { app: './src/index.js' @@ -66,7 +66,7 @@ module.exports = (env) => return { output: { filename: 'index.[contenthash].js', path: path.resolve(__dirname, '../../arvo/app/landscape/js/bundle'), - publicPath: '/', + publicPath: '/' }, optimization: { minimize: true,