📝 update documentation about css bundle size

This commit is contained in:
afc163
2019-07-30 13:52:08 +08:00
parent cde4b152d6
commit facc7124da
4 changed files with 6 additions and 6 deletions

View File

@@ -69,9 +69,9 @@ module.exports = {
Note that do not exclude antd package in node_modules when using less-loader.
### Customize in roadhog or Umi
### Customize in Umi
You can easily use `theme` field in [.webpackrc](https://github.com/ant-design/ant-design-pro/blob/b7e7983661eb5e53dc807452e9653e93e74276d4/.webpackrc.js#L18) (roadhog) or [config/config.js](https://github.com/ant-design/ant-design-pro/blob/56e648ec14bdb9f6724169fd64830447e224ccb1/config/config.js#L45) (Umi) file of your project root directory if you are using [roadhog](https://github.com/sorrycc/roadhog) or [Umi](http://umijs.org/), which could be a object or a javascript file path.
You can easily use [theme](https://umijs.org/config/#theme) field in [config/config.js](https://github.com/ant-design/ant-design-pro/blob/56e648ec14bdb9f6724169fd64830447e224ccb1/config/config.js#L45) (Umi) file of your project root directory if you are using [Umi](http://umijs.org/), which could be a object or a javascript file path.
```js
"theme": {