Skip to content

Commit 1d6504b

Browse files
committed
[INTERNAL] Configuration: Builder excludes for type module
This configuration will enabled by SAP/ui5-project#639
1 parent 184b80b commit 1d6504b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/pages/Configuration.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,14 +379,26 @@ You can choose which theme library to use by the application that is consuming t
379379
- "/test-resources/**"
380380
- "!/test-resources/some/project/name/demo-app/**"
381381
- "**/*.svg"
382+
```
383+
384+
=== "module"
385+
!!! info
386+
For projects of type `module`, this configuration is available since UI5 CLI [`v3.5.0`](https://github.com/SAP/ui5-cli/releases/tag/v3.5.0)
387+
and applies only to projects defining [Specification Version](#specification-versions) 3.1 or higher.
388+
```yaml
389+
builder:
390+
resources:
391+
excludes:
392+
# For modules, all paths must be absolute, except for wildcards
393+
- "/resources/my/library/module-xy/min/**"
394+
- "!/resources/my/library/module-xy/min/module-xy-bundle.js"
395+
- "**/*.svg"
382396
```
383397

384398
You can exclude a projects resources from the build process using a list of glob patterns. Matching resources will be ignored by the builder and all build tasks.
385399

386400
Patterns are applied to the **virtual resource paths** (i.e. the UI5 runtime paths). Exclude patterns are always applied after any includes.
387401

388-
Resource excludes are currently not supported for projects of type `module`.
389-
390402
### Cachebuster
391403

392404
!!! example

0 commit comments

Comments
 (0)