Change location of built files


I would prefer the built files to not be under the src directory. It clutters the directory and interferes with intellisense. I believe this could be done by adding outDir to tsconfig.json and modifying thewebpack.config.js` in my project but the NativeScript hooks may not work correctly.

Is this possible with NativeScript and watching?


Are you talking about the complied JS files? If Yes, I don’t think you can configure it to be not inside your source directory, but at least you can update VS Code settings for the project to not consider those JS files inside the source folder.


Yes, compiled files. I added the files.exclude and updated my intellisense to ignore them as well.