Absolute imports: default alias

Please provide the following:

  1. SDK Version: 41
  2. Platforms(Android/iOS/web/all): all
  3. 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": [
                "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?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.