Closed fabiomcosta closed 4 years ago
This will make react-native-svg effectively optional, and avoid the warnings when installing svgs on web projects.
react-native-svg
svgs
This is supported since npm 6.11: https://github.com/npm/cli/releases/tag/v6.11.0 yarn docs (but npm supports it as well as you can see on the previous link): https://next.yarnpkg.com/configuration/manifest#peerDependenciesMeta example: https://github.com/knex/knex/blob/master/package.json#L55-L71
This will make
react-native-svg
effectively optional, and avoid the warnings when installingsvgs
on web projects.This is supported since npm 6.11: https://github.com/npm/cli/releases/tag/v6.11.0 yarn docs (but npm supports it as well as you can see on the previous link): https://next.yarnpkg.com/configuration/manifest#peerDependenciesMeta example: https://github.com/knex/knex/blob/master/package.json#L55-L71