Skip to content

Commit 88970d7

Browse files
Add info regarding relative paths in importFrom (#42)
* Add info regarding relative paths in `importFrom` * Update README.md --------- Co-authored-by: Romain Menke <[email protected]>
1 parent ab0fdc5 commit 88970d7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ where Custom Properties should be imported from by using an `importFrom` key.
9393
These imports might be CSS, JS, and JSON files, functions, and directly passed
9494
objects.
9595

96+
The plugin resolves relative paths from the current working directory
97+
which may not work in monorepos, in which case it is best to pass only absolute
98+
paths to the plugin.
99+
96100
```js
97101
// .stylelintrc
98102
{

0 commit comments

Comments
 (0)