Skip to content

[Feature]: preseve file permission bits on Copy (CopyRspackPlugin) #9321

@ebenali

Description

@ebenali

What problem does this feature solve?

Can the copy plugin handle and preserve whatever permissions the underlying OS/filesystem the source files had?

This will eliminate the need to create a separate pre-packaging step just to fixup permission which may be error prone where config gets out of sync with artifacts

What does the proposed API of configuration look like?

{
  output: {
    copy: [
      { from: "./my-file.sh", copyPermissions?: true },
    ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions