Releases
umi@2.4.0
Compare
Sorry, something went wrong.
No results found
umi@2.4.0 (2019-01-11)
🚀 Enhancement(中文版)
支持通过环境变量 ESLINT 开启 dev/build 的 eslint 校验,#1819
支持通过配置 treeShaking 开启 tree shaking,以 ant-design-pro 为例,gzip 后减少 10K 左右,当然每个项目会不同
约定式路由不解析测试用例文件,比如 .test.js,#1807
mock 支持 multipart form-data 请求,#1791
升级 css-loader 到 2,#1816
umi 本身的文件使用 esm 格式,#1804
支持用 import { Link, Route } from 'umi' 的方式使用 umi api,#1799
🚀 Enhancement
af-webpack, eslint-config-umi
umi-build-dev
af-webpack
umi
umi-plugin-locale
#1730 [umi-plugin-locale] 支持更多 format* 函数,完善 TS 提示 (@imhele )
af-webpack, umi
🐛 Bug Fix
af-webpack
umi-build-dev
#1815 fix: custom document don't work if base is configured (@sorrycc )
#1812 fix: patchRoutes failed with no path route when exportStatic.htmlSuffix is true (@sorrycc )
umi-plugin-locale
af-webpack, umi-build-dev
#1805 fix: clipboard failed with redundent error message (@sorrycc )
umi
umi-plugin-react
#1746 fix: manifest.json srcPath support query (@huanz )
📖 Documentation
Committers: 7
You can’t perform that action at this time.