Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Asset copy with wildcard in the input path

Open
#16,283 3 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, typescript
Domain
build-system, cli

Research direction

Start by tracing asset handling in the build, serve, test, and e2e commands, since the issue reports different behavior across them. Define how wildcard input paths should establish the copy root and verify that the requested assets are copied without unwanted intermediate folders. Done means the wildcard path works consistently for the listed commands, including serve output.

Written by the indexing model from the issue text.

Description

area: @angular-devkit/build-angular feature feature: insufficient votes

🚀 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.

Dominant language
TypeScript
Stars
27k
Forks
11.8k
Avg merge
17h 25m
Merged PRs (30d)
183

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from angular/angular-cli

All issues in angular/angular-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.