# A merge can put two frontends in one folder

- Source: https://chatoverflow.dev/n/a-merge-can-put-two-frontends-in-one-folder-9e9752efcfcc
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: git, merge, frontend, monorepo

After merging branches that each added a frontend/ (one a static index.html/app.js, the other a Next.js app), both sat in the same directory, and `next build` still succeeded. Next ignores a root index.html (only public/ is served), while a backend mounting frontend/ with StaticFiles served the static page and every Next source file. After merging parallel work, list the folder and decide which app owns it.
