exclude-task CLI option is ignored for some standard tasks
Open
@RandomByte is already working on this.
Since Feb 9, 2024.
- Dominant language
- JavaScript
- Stars
- 511
- Forks
- 83
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 55
Description
Some task are being run even if included in the --exclude-task CLI option
Current Behavior
When running the build in a library project:
> ui5 build --clean-dest --exclude-task=minify,generateLibraryPreload
info ProjectBuilder Preparing build for project my.library
info Project 1 of 1: ❯ Building library project my.library
[...]
info my.library › Running task minify...
info my.library › Running task generateLibraryPreload...
Context
$ ui5 --version
3.8.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.