So I have my custom library my-library
, with a react-native.config.js
file.
module.exports = {
dependency: {
assets: ['Fonts'], // This lib contains custom fonts.
}
};
When I do yarn install my-library
somewhere in a different project, I need to manually run react-native link my-library
to have the fonts available in my app.
Is it possible to link it automatically on yarn install
?