Open
Description
Command
build
Description
I am not sure that you are aware that users have made a patch for this feature, but did not report it here.
Patch: https://stackoverflow.com/a/77390012/5155484
I want the copy command to copy the modification time of my files so I am able to sync to S3 or other content providers files that do not have a changed date at each deployment.
This will allow assets to live longer on cached proxies, if the last modified date is not always changed.
That means that I can deploy like this:
- https://github.com/MestreLion/git-tools/blob/main/git-restore-mtime
- build Angular
- deploy
Describe the solution you'd like
Modify build-angular/src/utils/copy-assets.js
async function copyAssets
with an option top copy file stats
Describe alternatives you've considered
Applying the patch in a sloppy way