Skip to content

Asset copy with wildcard in the input path #16283

@Ketec

Description

@Ketec

🚀 Feature request

Command (mark with an x)

- [ ] new
- [ x] build
- [ x] serve
- [x ] test
- [ x] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description

Currently assets array allows glob with input path, however input path itself does not support wildcards.
Like ./node_modules/@myscope/**/assets/i18n/*
Where ** is any number of unknown libraries (like shared, services, featureabc).

With glob it would also create every folder between @Myscope to assets/i18n, instead of copying just the contents of i18n.

Describe the solution you'd like

The input path allows wildcards to set the root or a flag to only copy contents of the glob result path.

Describe alternatives you've considered

Node scripts that requires extra steps and wouldn't know if project output is different from dist and it does not work with serve.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions