Skip to content
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

Importing large SVG files triggers babel deoptimize warning #1

Open
gertsonderby opened this issue Jul 7, 2016 · 0 comments
Open

Comments

@gertsonderby
Copy link

When importing an SVG file larger than 100 kb (i.e. a sprite sheet with 700+ icons on it) I get a console error message from Babel:

VM4186 browser.js:6048 [BABEL] Note: The code generator has deoptimised the styling of "http://localhost:57917/Composite/console/icons.svg" as it exceeds the max of "100KB".

As far as I can tell this comes back to this plugin letting Babel process SVGs that it loads - which seems unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant