callstack / haul

Haul is a command line tool for developing React Native apps, powered by Webpack
MIT License
3.64k stars 194 forks source link

Add Missing Dependencies to @haul-bundler/babel-preset-react-native #768

Open Stuart-Wilcox opened 2 years ago

Stuart-Wilcox commented 2 years ago

Summary

Add missing dependencies @babel/plugin-transform-computed-properties to @haul-bundler/babel-preset-react-native.

The following dependencies are used in @haul-bundler/babel-preset-react-native

However they are not declared in the dependencies of package.json for @haul-bundler/babel-preset-react-native.

I have encountered errors while trying to use this in a non-hoisted environment, and I believe this was working previously due to hoisting.

Test plan

This should not affect anything, the dependency was likely being resolved previously due to hoisting, and it is simply now being explicitly declared