Please provide the following:
- SDK Version: 41
- Platforms(Android/iOS/web/all): all
- Add the appropriate “Tag” based on what Expo library you have a question on.
In my .babelrc
, I’m able to this to get default imports working:
"plugins": [
[
"module-resolver",
{
"root": [
"./"
],
"alias": {
"components": "./src/components",
"networking": "./src/networking",
"style": "./src/style",
}
}
]
]
However, I would like everything in my src
folder to be importable without any prefix, and it’s feeling redundant to have to add a new line to this file each time I create a new folder in src
. It’s not a huge deal, but it just seems unnecessary, as it would be a bit more developer friendly to offer an option to allow module resolution for everything within a specified folder. Is this possible in any way?