mjohnston / react-native-webpack-server

Build React Native apps with Webpack
MIT License
933 stars 84 forks source link

Ability to set --assets-dest for static images (RN 0.14+) #138

Open richarddewit opened 8 years ago

richarddewit commented 8 years ago

Since RN 0.14 static images can be required from within project files, however this requires an additional build step in Xcode which bundles the index.ios.js file complete with all other assets. (Same goes for android, but this is specified in the android/app/react.gradle file).

So is there a possibility to set the --assets-dest for react-native bundle during the buildprocess of react-native-webpack-server (as it's done in node_modules/react-native/packager/react-native-xcode.sh)?

briangebala commented 8 years ago

+1