I am creating lambda function with serverless framework with typescript-http-api
template. However, I noticed that .gitignore
file doesn't contain line to exclude .build
folder.
.build
folder contains node_modules and obvioulsy large. Should I manually add it to .gitignore
or there are some caveats that I don't know?
Yes, build folder should be included in .gitignore, because when the developer pulls the changes, after the compilation he will get the build folder back if the tsconfig.json file is well written and i don't think that it's a good idea to have node_modules inside the build folder