From 8c0692f5e7076a27e2b802f1f498646bf314c73e Mon Sep 17 00:00:00 2001 From: Babajide Fowotade Date: Mon, 26 Dec 2016 04:15:36 +0100 Subject: [PATCH] Fix babel dir path to modify in create-react-app docs (#4362) --- docs/react/use-with-create-react-app.en-US.md | 2 +- docs/react/use-with-create-react-app.zh-CN.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/react/use-with-create-react-app.en-US.md b/docs/react/use-with-create-react-app.en-US.md index 3a57138673..953c91ffba 100644 --- a/docs/react/use-with-create-react-app.en-US.md +++ b/docs/react/use-with-create-react-app.en-US.md @@ -111,7 +111,7 @@ $ npm run eject ### Import on demand -After eject all config files to antd-demo, we allowed to install [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) and modify `src/webconfig.dev.js` now. +After eject all config files to antd-demo, we allowed to install [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) and modify `config/webpack.config.dev.js` now. ```bash $ npm install babel-plugin-import --save-dev diff --git a/docs/react/use-with-create-react-app.zh-CN.md b/docs/react/use-with-create-react-app.zh-CN.md index 1c4f50cd03..c38aa701ec 100644 --- a/docs/react/use-with-create-react-app.zh-CN.md +++ b/docs/react/use-with-create-react-app.zh-CN.md @@ -108,7 +108,7 @@ $ npm run eject ### 按需加载 -现在可以安装 [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) 并修改 `src/webconfig.dev.js` 文件。 +现在可以安装 [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) 并修改 `config/webpack.config.dev.js` 文件。 ```bash $ npm install babel-plugin-import --save-dev @@ -138,7 +138,7 @@ $ npm install babel-plugin-import --save-dev ### 自定义主题 -按照 [配置主题](/docs/react/customize-theme) 的要求,自定义主题需要用到 less 变量覆盖功能,因此首先我们需要引入 [less-loader](https://github.com/webpack/less-loader) 来加载 less 样式,同时修改 `src/webconfig.dev.js` 文件。 +按照 [配置主题](/docs/react/customize-theme) 的要求,自定义主题需要用到 less 变量覆盖功能,因此首先我们需要引入 [less-loader](https://github.com/webpack/less-loader) 来加载 less 样式,同时修改 `config/webpack.config.dev.js` 文件。 ```bash $ npm install less less-loader --save-dev