11 lines
266 B
JavaScript
11 lines
266 B
JavaScript
|
const rewire = require('rewire');
|
||
|
const defaults = rewire('react-scripts/scripts/build.js');
|
||
|
let config = defaults.__get__('config');
|
||
|
|
||
|
config.optimization.splitChunks = {
|
||
|
cacheGroups: {
|
||
|
default: false,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
config.optimization.runtimeChunk = false;
|