customize-cra icon indicating copy to clipboard operation
customize-cra copied to clipboard

How to add optimize.

Open hieusmiths opened this issue 5 years ago • 1 comments

I saw a option setWebpackOptimizationSplitChunks(target)

Can you helpe me write example for it.

Thank so much.

hieusmiths avatar May 26 '20 02:05 hieusmiths

const { override } = require("customize-cra");

module.exports = override(
  () => config => {
    config.optimization = {};
    return config;
  },
  ...
);

fupengl avatar Oct 27 '20 17:10 fupengl