NX build creates dist folders in a wrong way #28787
Unanswered
rishabhaggarwal10
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been experimenting with project.json outputPath to see how the output of dist folder is created,
I see people using outputPaths like "dist/apps/my-app" but it creates directory structure having apps/my-app/apps/my-app/src, see the apps/my-app gets repeated which doesn't seem good, even the common lib is also repeated which is in root as well as inside apps/my-app/apps/my-app/src, changing the outputPath to "dist" creates the correct structure but then nx serve command fails, not sure if I am doing something wrong or is this intended.
Pasting my project.json which is inside one of the apps
Beta Was this translation helpful? Give feedback.
All reactions