docs: fix typo, ref: #3146

This commit is contained in:
Benjy Cui 2016-09-23 15:35:17 +08:00
parent 6745f469bb
commit 2b90ab8464
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ $ npm install antd babel-plugin-import --save
Edit `webpack.config.js` to integrate `babel-plugin-import`.
```diff
+ webpackConfig.babel.plugins.push(['antd', {
+ webpackConfig.babel.plugins.push(['import', {
+ libraryName: 'antd',
+ style: 'css',
+ }]);

View File

@ -58,7 +58,7 @@ $ npm install antd babel-plugin-import --save
编辑 `webpack.config.js`,使 `babel-plugin-import` 插件生效。
```diff
+ webpackConfig.babel.plugins.push(['antd', {
+ webpackConfig.babel.plugins.push(['import', {
+ libraryName: 'antd',
+ style: 'css',
+ }]);