tokenbridge/alm/config-overrides.js

10 lines
381 B
JavaScript
Raw Normal View History

2020-06-04 19:15:39 +03:00
const { override, disableEsLint } = require('customize-cra')
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin')
const disableModuleScopePlugin = () => config => {
config.resolve.plugins = config.resolve.plugins.filter(plugin => !(plugin instanceof ModuleScopePlugin))
return config
}
module.exports = override(disableEsLint(), disableModuleScopePlugin())