Browse Source

Add remove warning comment (#7510)

pull/7559/head
Wei Zhu 7 years ago
committed by 偏右
parent
commit
8369557322
  1. 2
      components/index.tsx

2
components/index.tsx

@ -1,3 +1,4 @@
/* @remove-on-es-build-begin */
// this file is not used if use https://github.com/ant-design/babel-plugin-import
const ENV = process.env.NODE_ENV;
if (ENV !== 'production' &&
@ -10,6 +11,7 @@ if (ENV !== 'production' &&
'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.',
);
}
/* @remove-on-es-build-end */
export { default as Affix } from './affix';

Loading…
Cancel
Save