From 37e91fd8b1cd2bcf1a57a0b2e5a661fe2d21fd02 Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Wed, 29 Mar 2017 11:48:41 +0000 Subject: [PATCH] Fixed README and version of library required in examples --- README.md | 13 +++++++++---- examples/extract-css/package.json | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4793ca6..2a265f8 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,15 @@ module.exports = { // the file-loader emits files. { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, - options: { - limit: 10000, - mimetype: 'application/font-woff' - } + use: [ + { + loader: 'url-loader', + options: { + limit: 10000, + mimetype: 'application/font-woff' + } + } + ] }, { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, diff --git a/examples/extract-css/package.json b/examples/extract-css/package.json index a2990c3..f9c6f0a 100644 --- a/examples/extract-css/package.json +++ b/examples/extract-css/package.json @@ -11,7 +11,7 @@ "extract-text-webpack-plugin": "^2", "file-loader": "*", "font-awesome": "^4.6.0", - "font-awesome-sass-loader": "^1.0", + "font-awesome-sass-loader": "^2.0", "node-gyp": "*", "node-sass": "*", "sass-loader": "*",