From 613f801fa267d9e0cb24da3ac088aa344691fb00 Mon Sep 17 00:00:00 2001 From: krister Date: Fri, 1 Mar 2019 18:51:01 +0200 Subject: [PATCH] Update react-native-svg-transformer documentation - Use `metro.config.js` instead of `rn-cli.config.js`. - React Native 0.59.x ships with `metro.config.js` file, so it will be used as the default config for Metro. - `metro.config.js` file works on React Native 0.57 and 0.58 too. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd513fdc..9fe95d68 100644 --- a/README.md +++ b/README.md @@ -291,9 +291,10 @@ export default () => ( Try [react-native-svg-transformer](https://github.com/kristerkari/react-native-svg-transformer) to get compile time conversion and cached transformations. https://github.com/kristerkari/react-native-svg-transformer#installation-and-configuration -https://github.com/kristerkari/react-native-svg-transformer#for-react-native-v057-or-newer +https://github.com/kristerkari/react-native-svg-transformer#for-react-native-v057-or-newer--expo-sdk-v3100-or-newer + +`metro.config.js` -rn-cli.config.js ```js const { getDefaultConfig } = require("metro-config");