Browse Source

add warning

pull/1534/head
yiminghe 9 years ago
parent
commit
5365d4bbd3
  1. 3
      index.js
  2. 2
      package.json

3
index.js

@ -17,4 +17,7 @@ const antd = {
Card, LocaleProvider, Transfer, Cascader,
};
console.warn(`you are using prebuild antd,
please use https://github.com/ant-design/babel-plugin-antd to reduce app bundle size.`);
export default antd;

2
package.json

@ -25,7 +25,7 @@
"bugs": {
"url": "https://github.com/ant-design/ant-design/issues"
},
"main": "lib/index",
"main": "dist/antd",
"files": [
"dist",
"lib",

Loading…
Cancel
Save