Skip to content

Commit

Permalink
Updating Production configuration with Correct config (#3463)
Browse files Browse the repository at this point in the history
* Update webpack.config.renderer.prod.ts

* Update webpack.config.renderer.prod.ts
  • Loading branch information
theguidingstar committed May 18, 2023
1 parent 8b123a0 commit 5b5a4df
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .erb/configs/webpack.config.renderer.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,7 @@ const configuration: webpack.Configuration = {

optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
parallel: true,
}),
new CssMinimizerPlugin(),
],
minimizer: [new TerserPlugin(), new CssMinimizerPlugin()],
},

plugins: [
Expand Down Expand Up @@ -134,7 +129,7 @@ const configuration: webpack.Configuration = {
removeComments: true,
},
isBrowser: false,
isDevelopment: process.env.NODE_ENV !== 'production',
isDevelopment: false,
}),

new webpack.DefinePlugin({
Expand Down

0 comments on commit 5b5a4df

Please sign in to comment.