When rendering html file with hbs on nestjs, dist does not see where the file is kept
First of all, after creating a views folder where I specified in main.ts, I added my contract.hbs file in it, but I was getting an error that main.hbs cannot be found in layouts. Then I copied contract.ts and pasted it as main.hbs under views/layouts directory. Then I pasted it into dist and the rendering process worked. However, when I was making a few changes, I realized that the changes I made were not applied to the file I was rendering and while trying a few things, I got the error I showed again. I see the problem as the file not being copied to dist, but it could be something else since I don’t fully understand it.