Skip to content

Commit da8d2c7

Browse files
authored
Merge pull request #121 from sbauch/master
Update README example for multiple prefixes / suffixes
2 parents b308cac + 58cb76c commit da8d2c7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ You can supply an array of the above. The plugin will try each prefix/suffix pai
125125
```javascript
126126
{
127127
"plugins": [
128-
["babel-plugin-root-import", {
129-
"paths": [{
128+
["babel-plugin-root-import", [{
130129
// `~` is the default so you can remove this if you want
131130
"rootPathPrefix": "~",
132131
"rootPathSuffix": "src/js"
@@ -138,7 +137,7 @@ You can supply an array of the above. The plugin will try each prefix/suffix pai
138137
"rootPathPrefix": "#",
139138
"rootPathSuffix": "../../src/in/parent"
140139
}]
141-
}]
140+
]
142141
]
143142
}
144143

0 commit comments

Comments
 (0)