Vite 5.2.8更新发布

发布于:2024-04-08 ⋅ 阅读:(127) ⋅ 点赞:(0)
  • fix: csp nonce injection when no closing tag (#16281) (#16282) (3c85c6b), closes #16281 #16282
    修复:csp nonce注入时没有关闭标签(#16281)(#16282)(3c85c6b),关闭#16281 #16282

  • fix: do not access document in /@vite/client when not defined (#16318) (646319c), closes #16318
    修复:未定义时不访问 /@vite/client 中的文档(#16318)(646319c),关闭#16318

  • fix: fix sourcemap when using object as define value (#15805) (445c4f2), closes #15805
    fix:修复使用对象作为 define 值时的源映射(#15805)(445c4f2),关闭#15805

  • fix(css): unknown file error happened with lightningcss (#16306) (01af308), closes #16306
    修复(css):未知的文件错误发生与lightningcss(#16306)(01af308),关闭#16306

  • fix(hmr): multiple updates happened when invalidate is called while multiple tabs open (#16307) (21cc10b), closes #16307
    修复(hmr):当多个标签打开时调用无效时发生多个更新(#16307)(21cc10b),关闭#16307

  • fix(scanner): duplicate modules for same id if glob is used in html-like types (#16305) (eca68fa), closes #16305
    修复(扫描仪):如果在类似HTML的类型中使用glob,则相同ID的重复模块(#16305)(eca68fa),关闭#16305

  • chore(deps): update all non-major dependencies (#16325) (a78e265), closes #16325
    chore(deps):update all non-major dependencies(#16325)(a78e265),closes #16325

  • refactor: use types from sass instead of @types/sass (#16340) (4581e83), closes #16340
    重构:使用sass中的类型而不是@types/sass(#16340)(4581 e83),关闭#16340

目前在更新时有提示类似rollup报错,需要更新最新的nodejs和npm install,或者清除依赖项重新安装后才继续运行,如有遇到可以尝试。


网站公告

今日签到

点亮在社区的每一天
去签到