Releases: umijs/umi
Releases · umijs/umi
[email protected]
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]
- feat: support config urlLoaderExcludes
[email protected]
fix: winPath problem of the Compiling Component
[email protected]
[email protected]
[email protected]
[email protected]
[email protected] (February 26, 2018)
[email protected]
- Support service worker by default
- Support config
disableServiceWorker
to disable service worker - Support speecify plugins in the dev and build cli, #56
pages
config in config.js is more robust
[email protected]
- Support env variable
DISABLE_CLEAR_CONSOLE
to disable clear console - Support service worker by config
serviceworker
- Update deps: react-dev-utils@5
- Update deps: [email protected]
- Set access-control-allow-origin:* for dev server
- Fix: don't set NODE_ENV to production when NO_COMPRESS is setted