Skip to content

v2.24.0

Choose a tag to compare

@caohuilin caohuilin released this 21 Jun 09:00
1b5c7db

What's Changed

New Features 🎉

  • feat: support config main entry name by @caohuilin in #4019
  • feat(plugin-vue): support Vue 3 JSX compilation by @chenjiahan in #4013
  • feat(rspack-provider): update rspack to v0.2.3 by @chenjiahan in #4017
  • feat: support web and mobile meta for code block to change preview mode by @10Derozan in #4004
  • feat: Auto delete build product by checking if outdir is project root path by @targeral in #4021

Bug Fixes 🐞

  • fix(doc-core): doc hmr invalid by @sanyuan0704 in #4020
  • fix(dev-server): streaming ssr fail when dev mode, because http-compression can't handler stream http by @GiveMe-A-Name in #4023
  • fix(plugin-vue): remove react-related babel plugins by @chenjiahan in #4005
  • fix(storybook): fix typescript v5 capability issue by @chenjiahan in #4002
  • fix: should not invoke onServerChange when -server-loader.js file change by @zllkjc in #4008
  • fix(plugin-ssr): ssr script、link should add some attrs, like ["defer", "crossorigin"] by @GiveMe-A-Name in #4000
  • fix: export @remix-run/router cjs instead of react-router-dom by @zllkjc in #4011
  • fix: fix the line number mapping offset between the sourcemap and the source code by @xuchaobei in #4026
  • fix: close declarationMap when bundle dts by @10Derozan in #4012
  • fix(doc-core): import with .js extension by @sanyuan0704 in #4025

Other Changes

  • chore: upgrade libuild and libuild plugins version to 0.13.1 by @targeral in #4022
  • chore(builder): reuse externals plugin by @9aoy in #4003

更新内容

新特性 🎉

  • feat: 支持配置主入口名称 由 @caohuilin 实现, 详情可查看 #4019
  • feat(plugin-vue): 支持编译 Vue 3 JSX 由 @chenjiahan 实现, 详情可查看 #4013
  • feat(rspack-provider): 升级 rspack 到 v0.2.3 由 @chenjiahan 实现, 详情可查看 #4017
  • feat: 支持在代码块添加web和mobile meta来更改预览模式 由 @10Derozan 实现, 详情可查看 #4004
  • feat: 根据 outDir 是否是项目根目录决定是否自动删除产物目录 由 @targeral 实现, 详情可查看 #4021

Bug 修复 🐞

  • fix(doc-core): 文档热更新失效 由 @sanyuan0704 实现, 详情可查看 #4020
  • fix(dev-server): streaming ssr 在开发模式失败, 因为 http-compression 不能处理 stream http 由 @GiveMe-A-Name 实现, 详情可查看 #4023
  • fix(plugin-vue): 移除 react 相关的 babel 插件 由 @chenjiahan 实现, 详情可查看 #4005
  • fix(storybook): 修复与 typescript v5 的兼容问题 由 @chenjiahan 实现, 详情可查看 #4002
  • fix: 不应该在 -server-loader.js 变化时触发 onServerChange 由 @zllkjc 实现, 详情可查看 #4008
  • fix(plugin-ssr): ssr script,link 标签应该添加像 ["defer", "crossorigin"] 属性 由 @GiveMe-A-Name 实现, 详情可查看 #4000
  • fix: 暴露 @remix-run/router 的 cjs 导出代替 react-router-dom@zllkjc 实现, 详情可查看 #4011
  • fix: 修复 sourcemap 到源代码行号映射偏移问题 由 @xuchaobei 实现, 详情可查看 #4026
  • fix: 打包dts时关闭declarationMap 由 @10Derozan 实现, 详情可查看 #4012
  • fix(doc-core): import 中携带 .js 后缀 由 @sanyuan0704 实现, 详情可查看 #4025

其他变更

  • chore: 升级 libuild 和 libuild 插件版本到 0.13.1 由 @targeral 实现, 详情可查看 #4022
  • chore(builder): 复用 externals 插件 由 @9aoy 实现, 详情可查看 #4003