Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tweak copy a bit
The `safelist` config option still isn’t supported so it should stay in the list. But calling out how you can safelist utilities now is still a good idea.
  • Loading branch information
thecrypticace committed Jun 13, 2025
commit 293b4807b3d5bac03a7d5bd745b2166b00770aa2
3 changes: 1 addition & 2 deletions src/docs/upgrade-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,7 @@ If you still need to use a JavaScript config file, you can load it explicitly us
@config "../../tailwind.config.js";
```

The `corePlugins`, and `separator` options from the JavaScript-based config are not supported in v4.0.
For an alternative to `safelist` check out [Safelisting specific utilities](/docs/detecting-classes-in-source-files#safelisting-specific-utilities)
The `corePlugins`, `safelist`, and `separator` options from the JavaScript-based config are not supported in v4.0. To safelist utilities in v4.0 use [`@source inline()`](/docs/detecting-classes-in-source-files#safelisting-specific-utilities).

### Theme values in JavaScript

Expand Down