ant-design/index.js

14 lines
431 B
JavaScript
Raw Normal View History

2016-01-14 19:38:07 +08:00
// this file is not used if use https://github.com/ant-design/babel-plugin-antd
import warn from 'rc-util/lib/warn';
import * as antd from './components';
2016-06-01 12:08:08 +08:00
2016-09-09 15:41:15 +08:00
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.');
export default antd;