Skip to content

Support keeping the file stats while copying assets #29797

@williamdes

Description

@williamdes

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 stats

Describe alternatives you've considered

Applying the patch in a sloppy way

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions