From 2b09f095cc662d77cbce47a8e20585f5b44e144b Mon Sep 17 00:00:00 2001 From: Zaggen Date: Tue, 22 Aug 2017 09:31:40 -0500 Subject: [PATCH] Fixes alias example --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b78edad..c459701 100644 --- a/README.md +++ b/README.md @@ -75,21 +75,17 @@ Example: { "plugins": [ [ - "inline-react-svg", - { + "inline-react-svg", { + "root": "./", "alias": { - "plugins": [ - "root": "./", - "alias": { - "svgs": "svgs" - } - ] + "svgs": "svgs" } } ] ] } ``` + **Note:** If root is not specified it will always start resolving from the project root ### Via CLI