thoughtbot / belt

Belt is a CLI for starting a new React Native Expo app and will even keep your pants secure as you continue development.
MIT License
131 stars 3 forks source link

Remove babel-plugin-module-resolve, not needed for Expo 50 #31

Closed stevehanson closed 10 months ago

stevehanson commented 10 months ago

Our test suite began (rightly) failing when it tests that thoughtbelt can generate an app using the latest Expo. Expo 50 removed babel-plugin-module-resolver (issue thread) and now supports type aliases out of the box without it. thoughtbelt was specifying this plugin in babel.config.js for type aliases but was not installing it in the package.json for new apps. This PR removes the config for this plugin in babel.config.js.

If tests pass, I'm going to go ahead and merge, since the build is currently broken.