8 lines
252 B
JavaScript
8 lines
252 B
JavaScript
|
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
||
|
|
||
|
module.exports = function override(config, env) {
|
||
|
config.resolve.plugins = config.resolve.plugins.filter(plugin => !(plugin instanceof ModuleScopePlugin));
|
||
|
|
||
|
return config;
|
||
|
};
|