react-everywhere / re-start

react-native template to target multiple platforms :globe_with_meridians: :iphone: :computer: with single codebase.
https://medium.com/@amoghbanta/write-once-use-everywhere-with-react-native-d6e575efe58e#.nfl50gwfg
MIT License
1.3k stars 85 forks source link

where is webpack config? #49

Closed amorenew closed 6 years ago

amorenew commented 6 years ago

I want to use cross-platform components from react native web https://github.com/react-native-web-community but I don't know where is the webpack config file? so I can add alias to it

amorenew commented 6 years ago

I found it in node_modules\react-scripts\config but if I removed node_modules for any reason I will lost my alias for react native web components any solution so I don't lost my changes in the webpack config?

piranna commented 6 years ago

If you want to customize webpack config, execute react-scripts eject, and all the react-scripts internal configs will be set at project level, so react-scripts will not work anymore.