fix index

This commit is contained in:
yiminghe 2016-09-09 15:41:15 +08:00
parent 41a7f51e12
commit bb2d4f6b92

View File

@ -3,6 +3,10 @@
import warn from 'rc-util/lib/warn';
import * as antd from './components';
const req = require.context('./components', true, /^\.\/[^_][\w-]+\/style\/index\.tsx?$/);
req.keys().forEach(req);
warn('You are using prebuilt antd, ' +
'please use https://github.com/ant-design/babel-plugin-antd to reduce app bundle size.');