From 937289f7d758dae41264820b68635601d0378d6d Mon Sep 17 00:00:00 2001 From: jide Date: Fri, 4 Nov 2016 22:56:27 +0100 Subject: [PATCH] Fix docs for loaders --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a246c9b252a1..d80381dc124b 100644 --- a/README.md +++ b/README.md @@ -113,12 +113,12 @@ For that, first create a file called `loaders.js` in your project root. Then add var loaders = module.exports = {}; // to support css modules -loaders['.css'] = function(path) { +loaders['css'] = function(path) { return {}; }; // to support jpeg files -loaders['.jpeg'] = function(path) { +loaders['jpeg'] = function(path) { return path; } ```