Browse Source

fix index

pull/2987/head
yiminghe 8 years ago
parent
commit
bb2d4f6b92
  1. 4
      index.js

4
index.js

@ -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.');

Loading…
Cancel
Save