You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
This pertains to developer experience. Often the development tools with live-reloading do not enable tree-shaking so that rebuilds can happen quickly, but it is not useful to see the You are using a whole package of antd, please use... warning in the console with every rebuild. It would be better to only show this warning on production builds (i.e. where process.env.NODE_ENV === 'production').
What does the proposed API look like?
This would not be an API change. It would only affect when the tree-shaking warning is displayed in the console.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
This pertains to developer experience. Often the development tools with live-reloading do not enable tree-shaking so that rebuilds can happen quickly, but it is not useful to see the
You are using a whole package of antd, please use...
warning in the console with every rebuild. It would be better to only show this warning on production builds (i.e. whereprocess.env.NODE_ENV === 'production'
).What does the proposed API look like?
This would not be an API change. It would only affect when the tree-shaking warning is displayed in the console.
The text was updated successfully, but these errors were encountered: