sorrycc
released this
11 Jan 09:08
·
5746 commits
to master
since this release
[email protected] (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
- #1819 feat: support eslint check via process.env.ESLINT (@xiaohuoni)
umi-build-dev
- #1807 feat: exclude test files when get routes from dir (@xiaohuoni)
- #1791 mock 支持form-data 请求 (@leijingdao)
af-webpack
umi
umi-plugin-locale
af-webpack
,umi
🐛 Bug Fix
af-webpack
umi-build-dev
umi-plugin-locale
- #1811 fix: warn typo (@yutingzhao1991)
- #1810 fix: locale api is undefined before react app mounted (@yutingzhao1991)
af-webpack
,umi-build-dev
umi
umi-plugin-react
📖 Documentation
- #1809 📝 Document devServer configuration (@xiaohuoni)
- #1801 docs: nested routing (@ycjcl868)
Committers: 7
- Yu (@yutingzhao1991)
- @leijingdao
- bukas (@huanz)
- chencheng (云谦) (@sorrycc)
- 何乐 (@imhele)
- 信鑫-King (@ycjcl868)
- 陈小聪 (@xiaohuoni)