copy-files-from-to icon indicating copy to clipboard operation
copy-files-from-to copied to clipboard

Support for Resources with Multiple Extensions in Path

Open x80486 opened this issue 1 year ago • 1 comments

Description

I would like to suggest an enhancement to support resources with multiple extensions in the path.

This feature is particularly useful in scenarios where a project contains files with multiple extensions, without having to specify a block for each extension individually.

Many libraries support this by using (first_extension|second_extension). In the context of copy-files-from-to, for instance, it could be something like:

{
  "from": "node_modules/module_name/dist/js/module_name.min.(js|map)",
  "to": "static/module_name/scripts/"
},

x80486 avatar Jun 25 '24 22:06 x80486