Skip to content

Commit 65c3acc

Browse files
committed
2 parents 6ef27fb + 6a0654e commit 65c3acc

File tree

2 files changed

+487
-774
lines changed

2 files changed

+487
-774
lines changed

README.md

Lines changed: 5 additions & 1 deletion
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
{
@@ -124,7 +128,7 @@ Use this option to configure how the rule solve paths of `@import` rules.
124128
"csstools/value-no-unknown-custom-properties": [true, {
125129
"resolver": {
126130
"extensions": [".css"], // => default to [".css"]
127-
"paths": ["./assets/css", "./static/css"] // => paths to look for files, default to []
131+
"paths": ["./assets/css", "./static/css"], // => paths to look for files, default to []
128132
"moduleDirectories": ["node_modules"] // => modules folder to look for files, default to ["node_modules"]
129133
}
130134
}]

0 commit comments

Comments
 (0)