From 6cecfc984ee0cac62b33160d53448b855fa9c26d Mon Sep 17 00:00:00 2001 From: Kevin Huang Date: Thu, 17 Nov 2016 01:37:15 -0800 Subject: [PATCH] Update README with -loader suffix to support Webpack 2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c417a54..6c18235 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## Usage ``` javascript -require("script!./file.js"); +require("script-loader!./file.js"); // => execute file.js once in global context ```