- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2k
Commonly Asked Questions
        TJ Egan edited this page Nov 17, 2020 
        ·
        2 revisions
      
    The icons should be tree-shaken from bundles. More often than not when they aren't being removed from the bundle it is due to an import from a CommonJS entry point (the lib folder) or a misconfiguration by the bundler or framework.
Here's a quick example with create-react-app:
With only icons-react


With carbon-components-react and icons-react
 
