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

[TF-810] Reduce bundle size #140

Merged
merged 5 commits into from
May 27, 2022

Conversation

riffbyte
Copy link
Contributor

This is dependent on the changes made in prezly/theme-kit-js#34
After the PR is merged, this PR will be updated with a production version of theme kit.

In addition to theme kit changes, I replaced the abandoned react-use library with @react-hookz/web, which is it's direct successor.

@riffbyte riffbyte self-assigned this May 26, 2022
@vercel
Copy link

vercel bot commented May 26, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
theme-nextjs-bea-cookbook ✅ Ready (Inspect) Visit Preview May 27, 2022 at 8:31AM (UTC)
theme-nextjs-bea-photography ✅ Ready (Inspect) Visit Preview May 27, 2022 at 8:31AM (UTC)
theme-nextjs-bea-the-good-newsroom ✅ Ready (Inspect) Visit Preview May 27, 2022 at 8:31AM (UTC)

@riffbyte riffbyte requested a review from kudlajz May 26, 2022 13:41
@linear
Copy link

linear bot commented May 26, 2022

TF-810 Reduce bundle size for NextJS Themes

This doesn't look good:

image.png

Need to check if some server-only code is leaking into the client bundle (this was the main offender in the bundle size for the website).

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

Successfully merging this pull request may close these issues.

1 participant