ant-design/index.js
2016-09-09 15:52:02 +08:00

14 lines
431 B
JavaScript

// 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';
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;