File tree Expand file tree Collapse file tree
packages/haul-babel-preset-react-native/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,11 +53,16 @@ export function getDefaultPostPlugins(): PluginSpec[] {
5353export function getHermesPlugins ( ) : PluginSpec [ ] {
5454 // Additional plugins for Hermes because it doesn't support ES6 yet
5555 return [
56+ [ '@babel/plugin-transform-computed-properties' ] ,
57+ [ '@babel/plugin-transform-destructuring' ] ,
58+ [ '@babel/plugin-transform-regenerator' ] ,
5659 [ '@babel/plugin-transform-shorthand-properties' ] ,
5760 [ '@babel/plugin-transform-classes' ] ,
61+ [ '@babel/plugin-transform-arrow-functions' ] ,
5862 [ '@babel/plugin-transform-spread' ] ,
5963 [ '@babel/plugin-proposal-object-rest-spread' ] ,
6064 [ '@babel/plugin-transform-template-literals' , { loose : true } ] ,
65+ [ '@babel/plugin-transform-for-of' , { loose : true } ] ,
6166 ] ;
6267}
6368
You can’t perform that action at this time.
0 commit comments