-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree Shaking? #38
Comments
Hi Miguel,
You can import the icon individually for now as per the import when you do
icon selection. The iconlib/index.js file unfortunately is not an es2015
module.
So you can:
import {ic_accessibility} from 'react-icons-kit/md/ic_accessibility'
Plan is to have an es2015 module in the future.
Warren
…On Tue, Dec 4, 2018, 1:36 PM Miguel Stevens ***@***.*** wrote:
Is this package optimized so that if 1 have 1 icon from 1 pack, it doesn't
load all packs, or all icons in a pack? Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#38>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAcmEEGYSvNp07EovhJkMaap80dMlPW-ks5u1gn1gaJpZM4Y_9Qa>
.
|
In case this eslint config helps anyone:
|
closing this @thomassuckow thanks for the linter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this package optimized so that if 1 have 1 icon from 1 pack, it doesn't load all packs, or all icons in a pack? Thanks!
The text was updated successfully, but these errors were encountered: