mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 19:49:59 +08:00
add warning
This commit is contained in:
parent
196090cf4b
commit
5365d4bbd3
3
index.js
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;
|
||||
|
@ -25,7 +25,7 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/ant-design/ant-design/issues"
|
||||
},
|
||||
"main": "lib/index",
|
||||
"main": "dist/antd",
|
||||
"files": [
|
||||
"dist",
|
||||
"lib",
|
||||
|
Loading…
Reference in New Issue
Block a user