Skip to content

Commit

Permalink
fix: inspect the cause of higher memory requirement in prod build cre…
Browse files Browse the repository at this point in the history
…ation #1243
  • Loading branch information
duttarnab committed Aug 11, 2023
1 parent 3bda913 commit ce87406
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions admin-ui/build/webpack.config.client.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const CssMinimizerPlugin = require('css-minimizer-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const CircularDependencyPlugin = require('circular-dependency-plugin')
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer").BundleAnalyzerPlugin
const TerserWebpackPlugin = require('terser-webpack-plugin');
const config = require('./../config')
require('dotenv').config({
path: (process.env.NODE_ENV && `.env.${process.env.NODE_ENV}`) || '.env',
Expand All @@ -29,7 +28,6 @@ module.exports = {
chunks: 'all'
},
minimizer: [`...`,
new TerserWebpackPlugin(),
new CssMinimizerPlugin(),
`...`]
},
Expand Down
1 change: 0 additions & 1 deletion admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
"rimraf": "^4.4.1",
"sass-loader": "^13.2.2",
"style-loader": "^3.3.2",
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.77.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.1",
Expand Down

0 comments on commit ce87406

Please sign in to comment.