Merge pull request #16197 from ant-design/chores

chore: upgrade devDeps and doc
This commit is contained in:
偏右 2019-04-20 13:53:05 +08:00 committed by GitHub
commit 35da7ce395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View File

@ -96,8 +96,6 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
}
```
> Note: Don't set `libraryDirectory` if you are using webpack 1.
This allows you to import components from antd without having to manually import the corresponding stylesheet. The antd babel plugin will automatically import stylesheets.
```jsx

View File

@ -102,8 +102,6 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
}
```
> 注意webpack 1 无需设置 `libraryDirectory`
然后只需从 antd 引入模块即可,无需单独引入样式。等同于下面手动引入的方式。
```jsx

View File

@ -190,7 +190,7 @@
"stylelint-config-rational-order": "^0.1.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-declaration-block-no-ignored-properties": "^1.1.0",
"stylelint-order": "^2.0.0",
"stylelint-order": "^3.0.0",
"typescript": "~3.4.1",
"unified": "^7.0.0",
"xhr-mock": "^2.4.1",