Releases
v2.42.2
What's Changed
New Features 🎉
Bug Fixes 🐞
fix: temp routes file should use alias intead of absolute path by @yimingjfe in #5065
fix tips typo of testingPlugin, "testPlugin" -> "testingPlugin" by @SoonIter in #5056
fix(plugin-swc): should not override extensions when using function config by @JSerFeng in #5087
fix(storybook): use default conditionNames by @JSerFeng in #5067
fix(module-tools): dev --config <config>
does not work by @ulivz
fix(module-tools): Modify the configuration of isModule when converting umd products. by @targeral in #5053
fix(module-tools): not execa tsc clean in js project by @10Derozan in #5071
fix: if the second args of string.replace is a string, it would as RegExp. so we use function to replace by @GiveMe-A-Name in #5069
fix(module-tools): use tsc --clean to clear the tsbuildinfo and d.ts files by @10Derozan
fix(module-tools): improve ts references, not change the user tsconfig by @10Derozan in #5066
Docs update 📄
Other Changes
chore: bump rspack to 0.4.3 by @9aoy in #5079
types: proxy.context should allow function type by @9aoy in #5080
chore: bump rsbuild to 0.2.3 by @9aoy in #5088
chore(storybook-generator): adjust addDep version in template by @10Derozan in #5073
chore: bump codesmith to 2.3.2 by @KyrieLii
chore(module-tools): upgrade remapping version to 2.2.1 by @10Derozan in #5072
更新内容
新特性 🎉
Bug 修复 🐞
fix: 临时路由文件应该使用 alias 代替路径 由 @yimingjfe 实现, 详情可查看 #5065
fix(plugin-swc): 使用函数配置时不应该覆盖 extensions 由 @JSerFeng 实现, 详情可查看 #5087
fix(storybook): 使用默认的 conditionNames 由 @JSerFeng 实现, 详情可查看 #5067
fix(module-tools): dev --config <config>
未生效 由 @ulivz 实现
fix(module-tools): 修改转换 umd 产物过程中 isModule 的配置 由 @targeral 实现, 详情可查看 #5053
fix(module-tools): 不在 js 项目执行 tsc clean 由 @10Derozan 实现, 详情可查看 #5071
fix: 如果 string.replace 第二个参数是字符串,他若有特殊字符将会被当作正则处理,所以我们用函数去替换他 由 @GiveMe-A-Name 实现, 详情可查看 #5069
fix(module-tools): 使用 "tsc --clean" 来清理生成的 tsbuildinfo 和类型描述文件 由 @10Derozan 实现
fix(module-tools): 完善对于 ts references 的支持,不再改变用户的 tsconfig 由 @10Derozan 实现, 详情可查看 #5066
文档更新 📄
其他变更
chore: rspack 版本升级到 0.4.3 由 @9aoy 实现, 详情可查看 #5079
types: proxy.context 允许传入 function 由 @9aoy 实现, 详情可查看 #5080
chore: 升级 rsbuild 到 0.2.3 由 @9aoy 实现, 详情可查看 #5088
chore(storybook-generator): 调整模板里新增依赖的版本 由 @10Derozan 实现, 详情可查看 #5073
chore: 升级 codesmith 版本到 2.3.2 由 @KyrieLii 实现
chore(module-tools): 更新 remapping 版本至 2.2.1 由 @10Derozan 实现, 详情可查看 #5072
You can’t perform that action at this time.