Update web/webpack setup notes in README (#353)

This commit is contained in:
Maxime Thirouin
2016-12-01 16:05:33 +01:00
committed by Joel Arvidsson
parent 0818eb1b12
commit 3d1f2a5b71

View File

@@ -167,7 +167,9 @@ These steps are optional and only needed if you want to use the `Icon.getImageSo
### Web (with [webpack](https://webpack.js.org/))
In your webpack configuration file, add a section to handle ttf files using url-loader (or file-loader)
First, you will need to add ``node_modules/react-native-vector-icons`` in your ``babel-loader`` ``include`` definition.
Then, in your webpack configuration file, add a section to handle ttf files using url-loader (or file-loader)
```js
{