Skip to content
Compare
Choose a tag to compare
@sorrycc 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

🐛 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