mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
docs: rename babel-plugin-antd to babel-plugin-import (#3089)
This commit is contained in:
committed by
Benjy Cui
parent
e521009670
commit
9d9185127c
4
index.js
4
index.js
@@ -1,5 +1,5 @@
|
||||
/* eslint no-console:0 */
|
||||
// this file is not used if use https://github.com/ant-design/babel-plugin-antd
|
||||
// this file is not used if use https://github.com/ant-design/babel-plugin-import
|
||||
|
||||
function camelCase(name) {
|
||||
return name.charAt(0).toUpperCase() +
|
||||
@@ -29,6 +29,6 @@ req.keys().forEach((mod) => {
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (typeof console !== 'undefined' && console.warn) {
|
||||
console.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-import to reduce app bundle size.`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user