Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

v4.0.0-rc.16

Pre-release
Pre-release
Compare
Choose a tag to compare
@sorrycc sorrycc released this 12 May 07:11
· 202 commits to master since this release

新增 name 和 importSource 信息到 api.appData.umi
支持 command 配置 configResolveMode 为 loose,执行时不做 schema 校验
支持手动给 .umi 加 // debug 头部注释已避免文件被覆盖,通常在定义问题时使用
修复 umi config set 命令在某些边界场景不工作
修复从 umi import 的 history 不会自动补充 base 的问题
修复 runtimePublicPath 设置后 publicPath 为 undefined 的问题,fallback 到 /
max:@umijs/max/test 支持来自 max 自身 preset 提供的 alias
max:内置 tailwindcss 插件
test:esbuild 类型的 transformer 默认开启 sourcemap
test:新增 js 和 jsx 也走 transform 编译
generate:优化错误提示
plugin-antd:修复通过三方插件用 api.modifyDefaultConfig 不生效的问题,改用 process.env.UMI_PLUGIN_ANTD_ENABLE 环境变量
plugin-model:新增 models 跟进 useModel 的关系进行排序,被使用的在前
plugin-qiankun:提供 externalQiankun 配置,开启时不把 qiankun import 替换为绝对路径
plugin-qiankun:修复 base 和 path match 问题
plugin-qiankun:model 文件的生成应该在 model 插件之前
plugin-request:修复所有请求都会走到 errorConfig.errorThrower 的问题
plugin-docs:修复 Chrome 下带 hash 访问没有跳转到正确 scrollTop 的问题
plugin-docs:修复不支持 MFSU 的问题