You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSON can't be minimized but the minification plugin will try. If we include any decent size JSONs we get OOM errors. Our fix is just to exclude JSON from Terser but it still get's included in the chunk.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a reason why JSON is not excluded from the TerserPlugin?
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/config/webpack.config.js#L228-L267
JSON can't be minimized but the minification plugin will try. If we include any decent size JSONs we get OOM errors. Our fix is just to exclude JSON from Terser but it still get's included in the chunk.
Beta Was this translation helpful? Give feedback.
All reactions