From 5109fb910b68962be677367146075f1ddaa64b1b Mon Sep 17 00:00:00 2001 From: Kevin Huang Date: Thu, 17 Nov 2016 01:06:40 -0800 Subject: [PATCH] docs: Update README with -loader suffix to reflect Webpack 2 change --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 903e3f8..9ec89b0 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Usage ``` javascript -var json = require("json!./file.json"); +var json = require("json-loader!./file.json"); // => returns file.json content as json parsed object ```