Skip to content

Commit

Permalink
fix(webpack): Skip optimizing NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
langri-sha committed Jun 16, 2024
1 parent 13cac4b commit 1332357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default env(({ development, production }) => ({
mode: production ? 'production' : 'development',
entry: './src/index.tsx',
optimization: {
nodeEnv: false,
minimizer: [
new TerserPlugin({
parallel: true,
Expand Down

0 comments on commit 1332357

Please sign in to comment.