From 1f1dd2c67adde5bc8c5296b6570c09dab2435ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyle=20=E2=98=B1=E2=98=B2=E2=98=B3=E2=98=B4=E2=98=B5?= =?UTF-8?q?=E2=98=B7=20=E2=98=B6=20Robinson=20=E2=98=B1=E2=98=B2=20?= =?UTF-8?q?=E2=98=B3=E2=98=B4=E2=98=B5=E2=98=B6=E2=98=B7=20Young?= Date: Mon, 4 Nov 2013 11:05:08 -0800 Subject: [PATCH] loaders should be an array Just a little typo, thanks! --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1539f442..7e8d6ac4 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ This webpack config can load css files, embed small png images as Data Urls and ``` javascript module.exports = { module: { - loaders: { + loaders: [ { test: /\.css/, loader: "style-loader!css-loader" }, { test: /\.png/, loader: "url-loader?limit=100000&minetype=image/png" }, { test: /\.jpg/, loader: "file-loader" } - } + ] } }; ```