Skip to content

Conversation

@ozcanzaferayan
Copy link
Contributor

Im defining aliases on package.json like below.:

    "babel": {
      "presets": [
        "module:metro-react-native-babel-preset"
      ],
      "plugins": [
        [
          "module-resolver",
          {
            "alias": {
              "@app": "./src"
            }
          }
        ]
      ]
  }

But composite generation doesnt find babel-plugin-module-resolver and throws error like this:
✖ error index.ios.js: Cannot find module 'babel-plugin-module-resolver'

This commit fixes this issue by adding resolver to generated composite.

@ozcanzaferayan ozcanzaferayan force-pushed the ozcanzaferayan/fix_module_resolver branch from b39f7b2 to 137ecdf Compare March 4, 2022 07:54
@r0h0gg6 r0h0gg6 force-pushed the master branch 3 times, most recently from 6ff1b4d to 94d2faf Compare October 24, 2025 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant