The version 5 of ViteJS should come at the end of this year, the plugin will drop support of Vite 3.
The NodeJS version supported will stay at 14.18.0 || >=16.0.0 because Vite 4 support this version. I recommend to switch to Node 20 since this is the new LTS version.
The plugin will no longer works with Vite 3 because of hooks change in the last version of ViteJS (especially transformIndexHtml changes).
What's Changed
Drop supports of Vite 3
The version 5 of ViteJS should come at the end of this year, the plugin will drop support of Vite 3.
14.18.0 || >=16.0.0
because Vite 4 support this version. I recommend to switch to Node 20 since this is the new LTS version.transformIndexHtml
changes).