Skip to content

Commit 6119055

Browse files
tzurbaevadamwathan
andauthored
[v4] Add Node v20 requirement for the upgrade tool (#1916)
* [v4] Add Node v20 requirement for the upgrade tool * Update src/pages/docs/v4-beta.mdx --------- Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
1 parent 406a2e2 commit 6119055

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/docs/v4-beta.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ $ npx @tailwindcss/upgrade@next
369369

370370
For most projects, the upgrade tool will automate the entire migration process including updating your dependencies, migrating your configuration file to CSS, and handling any changes to your template files.
371371

372+
The upgrade tool requires Node.js 20 or higher, so ensure your environment is updated before running it.
373+
372374
**We recommend running the upgrade tool in a new branch**, then carefully reviewing the diff and testing your project in the browser to make sure all of the changes look correct. You may need to tweak a few things by hand in complex projects, but the tool will save you a ton of time either way.
373375

374376
It's also a good idea to go over all of the [breaking changes](#changes-from-v3) in v4.0 and get a good understanding of what's changed, in case there are other things you need to update in your project that the upgrade tool doesn't catch.

0 commit comments

Comments
 (0)