Improve nextjs build #16507
Unanswered
muhmushtaha
asked this question in
Help
Replies: 1 comment 3 replies
-
There's now support for CSS modules in components - like |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I noticed a problem with my app build when I run build command it generates css files and one of them contains all my components and pages styles and it doesn't split it to small files which cause a problem when loading the site.
I'm using the next-css, next-sass, and next-less plugins to enable styling. using scss and less.
here a screenshot for the shard files from the build result

How I can improve the build and split the css files?
Beta Was this translation helpful? Give feedback.
All reactions