I have created my expo app with CRNA and have quite bigg app with a lot of files in different folders etc. I have been trying to get reallative paths to work very unsuccessfully. I have tried to work with babel-plugin-module-resolver, module-alias, have tried to specify where to find all relevant files in the flowconfig file with “module.system.node.resolve_dirname” but nothing works!! I want to be able to import like this:
import someModule from "framework/path/to/someModule"
instead of :
import someModule from “…/…/…/…/framework/path/to/someMododule”
What are the additional packages to download and the babelrc file looking like?
Saw this as well:
@notbrent (or relevant person), would it be possible to add a quick section to the docs on the recommended way to setup relative paths? It’d be great if expo could choose one “officially recommended” way to go about it. I’ve seen differing things across the forums, slack and github issues that have me stuck in research/options paralysis for something I’m sure is a 10 minute thing if you know the bet route.