#Copying assets doesnt work

2 messages · Page 1 of 1 (latest)

fleet plaza
#

Hello! I just tried to copy assets via cli compiler-options and it doesnt seem to work. Not on my windows machine and not on my linux server. If i use "nest build" it just builds the src without copying any files.

Steps to reproduce:

  • Create nest via nest new name
  • Add copyme.html in root folder
  • Add assets to "compiler-options" in nest-cli ""assets": ["copyme.html"],"
  • use nest build / npm run build

I tried folders and "**/.html", ".html", too but it didnt work.

my repo:
https://codesandbox.io/s/late-field-eciy6d?file=/nest-cli.json

Someone knows why, or if I have forgotten something? Im not using a monorepo.

late-field-eciy6d by lil.reptillio using @nestjs/common, @nestjs/core, @nestjs/platform-express, reflect-metadata, rxjs

crisp nexus
#

I'm also getting this issue with the i18n package. I've followed the docs, but it doesnt seem to copy over the directory and its contents