Rajan / lesspod

Lesspod: Serverless CMS (Website + Blog Engine)
GNU General Public License v3.0
87 stars 19 forks source link

Feat(code-split): Route level splitting to reduce bundle size #80

Closed khubo closed 6 years ago

khubo commented 6 years ago

route level code splitting to bring down the initial package size. It currently reduced the package size by 140.5 KB. By further splitting based on components, maybe it can be brought down further.

s-kris commented 6 years ago

I have Code Splitting and SSR as later work but thanks for taking initiative. Kindly go through your changes and test it once again. On a quick glance I found that LandingScreen was assigned to '/login' route instead of LoginScreen.

khubo commented 6 years ago

@s-kris i don't think I haven made any other change than loading components using react-loadable. And I think probably I can split this repo further into more components.

s-kris commented 6 years ago

screen shot 2018-08-09 at 1 55 54 am

khubo commented 6 years ago

@s-kris sorry about that typo. I have fixed it !

s-kris commented 6 years ago

@khubo no problem, it's okay!