Since beginning my project, I have encountered an issue that is both normal and frustrating. The dist folder is being created with incomplete information related to the components inside it.
- dashboard
- dist (unwanted)
- components
- panel
- dist (unwanted)
- components
https://i.stack.imgur.com/588e6.png
I want to avoid these unwanted folders if possible, and understand why they are appearing in the first place. After checking the tsconfig.json file, I noticed that:
"outDir": "./dist/out-tsc"
which seems to be causing this unexpected behavior.