File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,7 +141,11 @@ module.exports = {
141141 // Process JS with Babel.
142142 {
143143 test : / \. ( j s | j s x | m j s ) $ / ,
144- include : paths . appSrc ,
144+ include : [
145+ paths . appSrc ,
146+ `${ paths . appNodeModules } /react-native-elements` ,
147+ `${ paths . appNodeModules } /react-native-vector-icons`
148+ ] ,
145149 loader : require . resolve ( 'babel-loader' ) ,
146150 options : {
147151
Original file line number Diff line number Diff line change @@ -146,7 +146,11 @@ module.exports = {
146146 // Process JS with Babel.
147147 {
148148 test : / \. ( j s | j s x | m j s ) $ / ,
149- include : paths . appSrc ,
149+ include : [
150+ paths . appSrc ,
151+ `${ paths . appNodeModules } /react-native-elements` ,
152+ `${ paths . appNodeModules } /react-native-vector-icons`
153+ ] ,
150154 loader : require . resolve ( 'babel-loader' ) ,
151155 options : {
152156 // The 'react-native' preset is recommended to match React Native's packager
You can’t perform that action at this time.
0 commit comments