Skip to content

Commit 2b09f09

Browse files
committed
Fixes alias example
1 parent 0953a13 commit 2b09f09

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,17 @@ Example:
7575
{
7676
"plugins": [
7777
[
78-
"inline-react-svg",
79-
{
78+
"inline-react-svg", {
79+
"root": "./",
8080
"alias": {
81-
"plugins": [
82-
"root": "./",
83-
"alias": {
84-
"svgs": "svgs"
85-
}
86-
]
81+
"svgs": "svgs"
8782
}
8883
}
8984
]
9085
]
9186
}
9287
```
88+
9389
**Note:** If root is not specified it will always start resolving from the project root
9490

9591
### Via CLI

0 commit comments

Comments
 (0)