Cli: Command to link only assets

Created on 15 Oct 2018  路  4Comments  路  Source: react-native-community/cli

Something like react-native link --assets ? Right now I cannot find a way to do this and it's not good in my project to run the whole react-native link.

Another interesting stuff is that you can run react-native link anyPackage and it will also link all the assets too. Is that desirable ?

link

Most helpful comment

Since v2 link only affects assets by default. Closing :)

All 4 comments

Another interesting stuff is that you can run react-native link anyPackage and it will also link all the assets too. Is that desirable ?

That is a bug. It should link only assets from that project.

https://github.com/unimonkiez/react-native-asset this thing can link only assets

That sounds nice, maybe we could use ideas behind this library :)

Since v2 link only affects assets by default. Closing :)

Was this page helpful?
0 / 5 - 0 ratings