I'm working on an EmailModule that reads a pug template.
I couldn't get the build to include the *.pug templates file:
I have followed the instruction based on this: https://github.com/nestjs/nest-cli/issues/320
Adding the assets property in nest-cli.json
"email": {
"type": "library",
"root": "libs/email",
"entryFile": "index",
"sourceRoot": "libs/email/src",
"compilerOptions": {
"tsConfigPath": "libs/email/tsconfig.lib.json"
},
"assets": ["**/*.pug"]
},