© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Grace Frank
Also if I install a dependency, how will next.js know that the dependency is just for the frontend and not the backend?
Mary Etokwudo
I am a fullstack developer with experience in NodeJS, React, GraphQL and every other thing in-between including HTML and CSS 😀
I think that by default, Next.js will try to make all the dependencies available on the frontend except those that need to run on a node environment. Check this Q&A on server-side dependencies as well.