Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Suppress copying of all resources, just allow the creation via task

Offen
#362 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
javascript
Bereich
build-system, cli

Rechercherichtung

Start with the ui5 build entry point and the ui5-builder handling for --exclude-task, then run ui5 build --exclude-task '*' to observe resource copying. Check how resources are currently included when all tasks are excluded. Done means resources are not copied by default in that case and can instead be created or transformed by an explicit task.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

module/ui5-builder

Expected Behavior

When excluding all tasks I would also expect that the resources are not copied by default.

Current Behavior

When using the exclude-task option to suppress all tasks in the library build type then the resources are still copied to the dest directory.

By using a task to copy the resources which could be excluded I can implement an own task which does this and where I maybe change the names and locations of the source files. E.g. while copying I want to read source hbs files and create dest lit.js files without changing the one hbs resource to set a new path and new content.

Steps to reproduce the issue

Just run ui5 build --exclude-task *

Context

Not related

Affected components (if known)

Vorherrschende Sprache
JavaScript
Sterne
511
Forks
82
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
54

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus UI5/cli

Alle Issues in UI5/cli

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.