|
@ -3,6 +3,10 @@ |
|
|
import warn from 'rc-util/lib/warn'; |
|
|
import warn from 'rc-util/lib/warn'; |
|
|
import * as antd from './components'; |
|
|
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, ' + |
|
|
warn('You are using prebuilt antd, ' + |
|
|
'please use https://github.com/ant-design/babel-plugin-antd to reduce app bundle size.'); |
|
|
'please use https://github.com/ant-design/babel-plugin-antd to reduce app bundle size.'); |
|
|
|
|
|
|
|
|