#NestJS Assets dont copy

1 messages · Page 1 of 1 (latest)

glacial frost
#

Hey, small question, it doesn't copy the config file to the dist folder. The only question is why? I've tried a lot, but it doesn't work

tawdry sage
#

I'm pretty sure the syntax is wrong, you just need this:

assets: [
  "config/config.yaml"
]
#

Ok, so I found out that your syntax is accepted, too. Now, what exactly doesn't work? Is it not copied at all?

glacial frost
#

he doesen´t copy the config.yaml

tawdry sage
#

Are you able to share a mininal reproduction where you demonstrate the problem? The assets option works on my machine.