Skip to content

Commit

Permalink
Add remove warning comment (ant-design#7510)
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck authored and afc163 committed Sep 11, 2017
1 parent 33a71eb commit 8369557
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/index.tsx
Original file line number Diff line number Diff line change
@@ -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' &&
Expand All @@ -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';

Expand Down

0 comments on commit 8369557

Please sign in to comment.