Skip to content

Support glob options in assetPattern #11850

Closed
@dinony

Description

@dinony

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Command (mark with an x)

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

Desired functionality

Asset pattern supports glob patterns but does not support glob options.

What about something like the following?

{ "glob": "**/*", "globOptions": {"ignore": "src/assets/fonts"}, "input": "src/assets/", "output": "/assets/" }

This would help with file duplication issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions