Skip to content

Commit 30d9fb9

Browse files
committed
Add note about safelisting
I added this to the upgrade guide previously but we should add it here too.
1 parent f097caa commit 30d9fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/functions-and-directives.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Use the `@config` directive to load a legacy JavaScript-based configuration file
259259
@config "../../tailwind.config.js";
260260
```
261261

262-
The `corePlugins`, `safelist`, and `separator` options from the JavaScript-based config are not supported in v4.0.
262+
The `corePlugins`, `safelist`, and `separator` options from the JavaScript-based config are not supported in v4.0. To safelist utilities in v4 use [`@source inline()`](/docs/detecting-classes-in-source-files#safelisting-specific-utilities).
263263

264264
<h3 id="plugin-directive">
265265
<a href="#plugin-directive">@plugin</a>

0 commit comments

Comments
 (0)