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

[QUESTION] Three shaking in Next.js #48

Open
bchurlinov opened this issue Jan 5, 2022 · 0 comments
Open

[QUESTION] Three shaking in Next.js #48

bchurlinov opened this issue Jan 5, 2022 · 0 comments

Comments

@bchurlinov
Copy link

Hey Harvey,

Thanks a lot for your hard work, saved me tons of time, much appreciated :)

I have an issue with Next.js ( 12.x ), the build size of each page. Basically, the three shaking doesn't work at all and each page imports all the components. I tried using the "code-splitting" branch but the size is even bigger.

I researched a lot RE this issue however I can't find a suitable solution. Everything points out to the library itself and not Next.js.

Do you have any suggestions and tips on how to resolve this issue ?

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