Build is too large, tree shaking isn't applied
Closed this issue · 3 comments
goodwin64 commented
Investigate how to apply tree shaking so Material UI and other dependencies won't be included entirely, but only required sub-packages.
2 obvious benefits:
- The build size will be smaller
- Easier to deliver and test
AGenchev commented
Yes this is the first *monkey extension I saw whose code is scattered over so many small files. I gave up on trying to understand what happens...
maybe I'm too old and this is the new fashion in programming.
goodwin64 commented
:)
Just for the purpose of quick scaffolding I used giant Material UI library with React+Preact (and preact-compat) for UI layer. Theoretically, they can bad omitted and code bundle will be lightweight but I'm sure development will be slower as well.
goodwin64 commented