yoga-layout-prebuilt adds massive overhead to bundle
See original GitHub issueHi Gents… @DuncanMacWeb @diegomura
When this module is imported it adds massively to the webpack optimised bundle size, in the order of about 600KB gzipped.
This nearly doubles my current optimised package size, and webpack starts to throw warnings about bundle size. The bundle size is significantly larger than recommended.
I’d say the yoga-layout-prebuilt module is the cause. Looking at the raw webpack bundle (*.chunk.js) code, I can see a bunch of stuff from nbind.js
Describe the solution you’d like Is it possible to package a cut down build of yoga-layout?
Describe alternatives you’ve considered I had a look at issues #364 and #603 but I’m guessing getting a yoga build process is pretty involved.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6 (5 by maintainers)
Top Results From Across the Web
How to skip ORM overhead in result? - Stack Overflow
I have an ORM sqlalchemy model, I need to construct a query (that is easier to construct with ORM classes), but it takes...
Read more >Dependencies | docz | npm - Open Source Insights
arrow_right @emotion/core. 10.3.1 Notes Relation Licenses De...
Version 10.3.1 Published December 8, 2021 Description
arrow_right @mdx‑js/react. 1.6.22 Notes Relation Licenses De...
Version 1.6.22 Published December 1,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nero2009 Thanks for the feedback. I checked out your website and your latest blog post which is very nicely written. I’ve been involved in software engineering for well over 20 years and I learn something new every day. I think your article is on the right track, embrace
learning
, and make sure you put it into practice bydoing
! It’s a wonderful career that I continue to love, I wish you good luck in your journey!This helped me cause I recently added react-pdf to my projects and the bundle size doubled. Thanks for the detailed explanation @hutch120