diff --git a/dev/prod/package.json b/dev/prod/package.json index 0ecf7b9157..57d715cfac 100644 --- a/dev/prod/package.json +++ b/dev/prod/package.json @@ -3,7 +3,7 @@ "version": "1.0.1", "license": "EPL-2.0", "scripts": { - "build": "cross-env NODE_ENV=development webpack --stats-error-details && echo 'done'", + "build": "cross-env NODE_ENV=production webpack --stats-error-details && echo 'done'", "analyze": "cross-env NODE_ENV=production webpack --json > stats.json", "show": "webpack-bundle-analyzer stats.json dist", "dev": "cross-env CLIENT_TYPE=dev webpack serve --content-base public", diff --git a/dev/prod/public/index.html b/dev/prod/public/index.html index c7bf9124d2..1474b2b6f8 100644 --- a/dev/prod/public/index.html +++ b/dev/prod/public/index.html @@ -12,7 +12,6 @@ - diff --git a/dev/prod/webpack.config.js b/dev/prod/webpack.config.js index b9e225351e..6635ace3fe 100644 --- a/dev/prod/webpack.config.js +++ b/dev/prod/webpack.config.js @@ -45,22 +45,6 @@ module.exports = { chunkFilename: '[name].[id].js', publicPath: '/' }, - optimization: { - minimize: prod, - usedExports: prod, - splitChunks: { - chunks: 'all', - maxAsyncRequests: 5, - maxInitialRequests: 3, - cacheGroups: { - vendors: { - name: 'vendors', - test: /[\\/]node_modules[\\/]/, - priority: 20 - } - } - } - }, module: { rules: [ {