f5ff33d21f
* Oracle abi taken from compilation. Moved project setup from dockerfile to package.json scripts * Use compile:contracts script instead of repeated command * Update imports to root contracts instead of copying * Rule for importing unpublished. Lint fix * Remove prepare:contracts and import:contracts * Disabled ModuleScopePlugin in order to be able to import contracts outside src dir * Fix for rm removing . and .. on linux
12 lines
433 B
JavaScript
12 lines
433 B
JavaScript
const { addDecoratorsLegacy, disableEsLint, override } = 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(addDecoratorsLegacy(), disableEsLint(), disableModuleScopePlugin())
|