Support keeping the file stats while copying assets #29797
Labels
angular/build:application
area: @angular/build
feature: votes required
Feature request which is currently still in the voting phase
feature
Issue that requests a new feature
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:
Describe the solution you'd like
Modify
build-angular/src/utils/copy-assets.js
async function copyAssets
with an option top copy file statsDescribe alternatives you've considered
Applying the patch in a sloppy way
The text was updated successfully, but these errors were encountered: