Changelog

vitejs/vite · · 4 commits

HTML import map ordering fix lands

Vite fixes import map insertion before non-self-closing modulepreload links and updates a few docs/comments and deprecation hints.

Fix import map insertion before modulepreload links (sapphi-rede399c89)

Vite now recognizes <link rel="modulepreload"> tags whether or not they’re self-closing, so import maps are inserted in the right place. This avoids malformed HTML ordering in cases the previous regex missed.

Other misc changes

  • Updated create-react-app source/license links in browser-opening code (iiio26ebcf6a)
  • Corrected deprecated parseAst/parseAstAsync hints to point to the right APIs (shulaoda983b7e3)
  • Updated the Oxc Minifier assumptions reference in the migration guide (mon-jai4074add)