mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
improve console gramma
This commit is contained in:
parent
489cc44a59
commit
55ab71853f
2
index.js
2
index.js
@ -20,7 +20,7 @@ req.keys().forEach((mod) => {
|
||||
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (typeof console !== 'undefined' && console.warn) {
|
||||
console.warn(`you are using prebuild antd,
|
||||
console.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