Skip to content

Commit e590cba

Browse files
committed
Fixes alias example
1 parent e83551b commit e590cba

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
@@ -74,21 +74,17 @@ Example:
7474
{
7575
"plugins": [
7676
[
77-
"inline-react-svg",
78-
{
77+
"inline-react-svg", {
78+
"root": "./",
7979
"alias": {
80-
"plugins": [
81-
"root": "./",
82-
"alias": {
83-
"svgs": "svgs"
84-
}
85-
]
80+
"svgs": "svgs"
8681
}
8782
}
8883
]
8984
]
9085
}
9186
```
87+
9288
**Note:** If root is not specified it will always start resolving from the project root
9389

9490
### Via CLI

0 commit comments

Comments
 (0)