Skip to content

Releases: umijs/umi

[email protected]

14 Mar 08:33
Compare
Choose a tag to compare

🚀 Enhancement

  • umi-build-dev
    • #210 feat(umi-build-dev): support disable HTML generatation via HTML=none. (@sorrycc)
    • #209 feat(umi-build-dev): support config outputPath in .umirc.js. (@sorrycc)
    • #203 feat(umi-build-dev): move css link to the tag. (@sorrycc)
  • umi
  • af-webpack
    • #191 feat(af-webpack): support use comment in eslintrc. (@sorrycc)

🐛 Bug Fix

  • umi-build-dev
    • #211 fix(umi-build-dev): extraBabelPresets and extraBabelPlugins don't work. (@sorrycc)
  • umi-build-dev, umi-plugin-yunfengdie
    • #208 fix(umi-plugin-yunfengdie): css publicPath problem. (@sorrycc)
  • af-webpack
    • #205 fix(af-webpack): image loader match failed when have directory named *.html. (@sorrycc)
  • umi-plugin-dva

Committers: 1


中文版 CHANGELOG :

  • 支持通过 HTML=none 禁用 HTML 的生成,#210
  • 支持通过在 .umirc.js 里配置 outputPath,#209
  • 移动 <link rel="stylesheet" /></head> 标签内,#203
  • 改进 typescript 定义,#192
  • 支持在 .eslintrc 里使用注释,#191
  • 修复 extraBabelPresets 和 extraBabelPlugins 不生效的问题,#211
  • 修复云凤蝶插件里 CSS 里引用图片的路径问题,[email protected]#208
  • 修复目录名包含 .html 时 image loader 出错的问题,#205
  • 修复 umi-plugin-dva 的 ts 问题,#204

[email protected]

08 Mar 06:30
Compare
Choose a tag to compare
  • umi test support extend jest config with jest.config.js, #182
  • feat(af-webpack): new config cssModulesWithAffix, #182
  • feat(umi): support config cwd with process.env.APP_ROOT, #184
  • fix: layout don't support ts, tsx and jsx affix, #187

  • umi test 支持通过 jest.config.js 进行扩展配置,#182
  • 新的 .webpackrc 配置项 cssModulesWithAffix,#182
  • 通过环境变量 APP_ROOT 支持 cwd 的配置,方便接入 egg,#184
  • 修复 layout 不支持 ts、tsx、jsx 后缀的问题, #187

[email protected]

07 Mar 03:46
Compare
Choose a tag to compare
  • fix: winPath problem for global-js and hd plugin, #172
  • fix: don't minify font values for CSS, #166

[email protected]

07 Mar 03:47
Compare
Choose a tag to compare
  • feat: improve models resolve, #173

[email protected]

06 Mar 08:27
Compare
Choose a tag to compare

More on #161.

  • feat: specify context.path when generating HTML content
  • feat: support global.js
  • feat: support custom hd solution with hd.js
  • fix: exact property incorrent when using _routes.json, Close #160
  • feat: don't remove attribute quotes for HTML files
  • feat(af-webpack): support config urlLoaderExcludes

  • 生成 HTML 内容时额外传入 context.path 给模板
  • 约定 src/global.(j|t)sx? 为 JS 入口文件,对应 CSS 的 global.(css|less),你可以在这里引用 polyfill 或其他文件
  • 约定 src/hd.js 为自定义的 hd 方案文件(注意:要先开 hd 配置)
  • 修复 _routes.json 里声明非 exact 时不生效的问题,Close #160
  • 压缩 HTML 文件时不移除引号(内部流程上的一个工具不支持。。)
  • 支持在 .webpackrc 里配置 urlLoaderExcludes

[email protected]

06 Mar 08:28
Compare
Choose a tag to compare
  • feat: support config urlLoaderExcludes

[email protected]

02 Mar 13:01
Compare
Choose a tag to compare

fix: winPath problem of the Compiling Component

[email protected]

02 Mar 09:51
Compare
Choose a tag to compare
  • fix: compiling problem completely, #156
  • fix: service-worker.js don't generated, #155

  • fix: 彻底修复 Compiling 问题, #156
  • fix: service-worker.js 没有生成, #155

[email protected]

02 Mar 09:50
Compare
Choose a tag to compare
  • feat: support dynamic load page models, #153

  • feat: 支持 build 后动态加载 page 级别的 models, #153

[email protected]

27 Feb 08:33
Compare
Choose a tag to compare
  • fix: .umirc.mock.js don't work, #142
  • feat: reload mock automatically, #142
  • misc: use <%= libraryName %> in entry.js.tpl, #141

  • 修复 .umirc.mock.js 和 404 功能冲突不工作的问题,#142
  • .umirs.mock.jsmock 文件夹修改后不需要重启 dev server,#142
  • entry.js.tpl 里使用 <%= libraryName %> 模板字符串,#141