I already had a project which based on React for Web. And now, I created a React-Native project here. If I bundle with react-native bundle
, react-native will bundle all my files then prompt lots of WARNING. So I want to make react-native ignore files under /www
.
I tried these actions, but useless:
- Add my paths to
sharedBlacklistWildcards
innode_modules/react-native/packager/blacklist.js
. - Add my paths to
.flowconfig
.
I checked the documentation, but didn't find anything useful. How could I do that, or if I have a wrong idea?