Angular CLI build dist without updating modified time of assets (e.g. images)

Discussão em 'Angular' iniciado por Etherman, Março 25, 2025.

  1. Etherman

    Etherman Guest

    Is there a way to tell the Angular 4 CLI to copy assets into the dist folder without updating the file modified date/time?

    My deployment app copies all files changed, and since all the files in assets folder get a new modified date/time it ends up copying everything every time - including a load of images and docs that never change.

    I am considering moving the assets folder out of the project and copying them separately because of this, but that bugs me.

    Continue reading...

Compartilhe esta Página