Skip to content

Commit 1359d6f

Browse files
Clarification on relative paths (#1976)
Co-authored-by: Philipp Spiess <[email protected]>
1 parent 9c44342 commit 1359d6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/detecting-classes-in-source-files.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ If you need to scan any files that Tailwind is ignoring by default, you can [exp
142142

143143
## Explicitly registering sources
144144

145-
Use `@source` to explicitly register source paths that Tailwind ignores by default:
145+
Use `@source` to explicitly register source paths relative to the stylesheet:
146146

147147
```css
148148
/* [!code filename:CSS] */
@@ -151,7 +151,7 @@ Use `@source` to explicitly register source paths that Tailwind ignores by defau
151151
@source "../node_modules/@acmecorp/ui-lib";
152152
```
153153

154-
This is especially useful when you need to scan an external library that is built with Tailwind, since dependencies are usually listed in your `.gitignore` file and ignored by Tailwind.
154+
This is especially useful when you need to scan an external library that is built with Tailwind, since dependencies are usually listed in your `.gitignore` file and ignored by Tailwind by default.
155155

156156
### Setting your base path
157157

0 commit comments

Comments
 (0)