I am trying to set up Flow in a new project, but my ways of solving web packages confuse it. I automatically allow root folders to use components/Foo instead of ../../../Components/Foo .
Is there any way around this? I tried playing with module.name_mapper= '^components/[a-zA-Z0-9$_]+$' -> 'src/components' , but that did not work.
src/pages/Login.js:5 5: import View from 'components/View'; ^^^^^^^^^^^^^^^^^ components/View. Required module not found
source share