0.1.2 • Published 4 years ago
@shaking/antd-css v0.1.2
@shaking/antd-css
Make antd
support webpack tree-shaking
out of the box.
Installation
npm install @shaking/antd-css --save-dev
Now, You don't need babel-plugin-import
to handle antd
import anymore.
Usage
Enable webpack@4
tree shaking of ES modules. Add css
support to your webpack scaffold. If you already did that, just:
import { Card, Alert } from 'antd';
Tips
If you need to support more complex use cases, I still suggest using babel-plugin-import.
0.1.2
4 years ago
0.1.2-beta.3
4 years ago
0.1.2-beta.2
4 years ago
0.1.2-beta
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago