mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
fix index
This commit is contained in:
parent
41a7f51e12
commit
bb2d4f6b92
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…
Reference in New Issue
Block a user