How to copy non-ts files to dist when building typescript?
You can also do this by adding an asset property in the nest-cli.json as mentioned in the documentation. For your case, you can try something like this: “assets”:[“**/Mail/templates/*”] Or if your templates all have a specific filetype (I am assuming its called .template), this should also work: “assets”:[“**/*.template”] The 2nd example will copy all files … Read more