From d3c57f09ea5af57161b2dea3aec800504c1aa55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8B=B7=E9=92=89?= <41830859@qq.com> Date: Tue, 13 Mar 2018 13:42:12 +0800 Subject: [PATCH] doc webpackrc (#9651) --- docs/react/customize-theme.en-US.md | 2 +- docs/react/customize-theme.zh-CN.md | 2 +- docs/react/practical-projects.en-US.md | 2 +- docs/react/practical-projects.zh-CN.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/react/customize-theme.en-US.md b/docs/react/customize-theme.en-US.md index de9a6de82e..1b0ce282a9 100644 --- a/docs/react/customize-theme.en-US.md +++ b/docs/react/customize-theme.en-US.md @@ -23,7 +23,7 @@ You can use this [example](https://github.com/ant-design/antd-init/tree/master/e ### 1) Using `theme` property (recommended way) -Specify the `theme` property in the `package.json` or `.roadhogrc` file, whose value can be either an object or the path to a JS file that contains the custom values of specific variables: +Specify the `theme` property in the `package.json` or `.webpackrc` file, whose value can be either an object or the path to a JS file that contains the custom values of specific variables: - example of directly specifying the custom values as an object: ```js "theme": { diff --git a/docs/react/customize-theme.zh-CN.md b/docs/react/customize-theme.zh-CN.md index f773399fc5..23fb7d185a 100644 --- a/docs/react/customize-theme.zh-CN.md +++ b/docs/react/customize-theme.zh-CN.md @@ -24,7 +24,7 @@ antd 的样式使用了 [Less](http://lesscss.org/) 作为开发语言,并定 ### 1) theme 属性(推荐) -配置在 `package.json` 或 `.roadhogrc` 下的 `theme` 字段。theme 可以为配置为一个对象或文件路径。 +配置在 `package.json` 或 `.webpackrc` 下的 `theme` 字段。theme 可以为配置为一个对象或文件路径。 ```js "theme": { diff --git a/docs/react/practical-projects.en-US.md b/docs/react/practical-projects.en-US.md index 4e24cb23be..8f29cc0a34 100644 --- a/docs/react/practical-projects.en-US.md +++ b/docs/react/practical-projects.en-US.md @@ -69,7 +69,7 @@ Edit `.webpackrc` to integrate `babel-plugin-import`. + ], ``` -> Notice: dva-cli's build and dev is based on roadhog, view [roadhog#Configuration](https://github.com/sorrycc/roadhog/blob/master/README_en-us.md#configuration) for more `.roadhogrc` Configuration. +> Notice: dva-cli's build and dev is based on roadhog, view [roadhog#Configuration](https://github.com/sorrycc/roadhog/blob/master/README_en-us.md#configuration) for more `.webpackrc` Configuration. ## Define Router diff --git a/docs/react/practical-projects.zh-CN.md b/docs/react/practical-projects.zh-CN.md index c2bad9fff5..352a25298e 100644 --- a/docs/react/practical-projects.zh-CN.md +++ b/docs/react/practical-projects.zh-CN.md @@ -71,7 +71,7 @@ $ npm install antd babel-plugin-import --save + ], ``` -> 注:dva-cli 基于 roadhog 实现 build 和 dev,更多 `.roadhogrc` 的配置详见 [roadhog#配置](https://github.com/sorrycc/roadhog#配置) +> 注:dva-cli 基于 roadhog 实现 build 和 dev,更多 `.webpackrc` 的配置详见 [roadhog#配置](https://github.com/sorrycc/roadhog#配置) ## 定义路由