Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions exercises/ex6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,31 @@ server:

2. **Add additional configuration**

To enable TypeScript support for UI5 Web Components during development, you need to add the following configuration to `ui5-tooling-modules-task` and `ui5-tooling-modules-middleware`. Your `ui5.yaml` file should look like this:
To enable TypeScript support for UI5 Web Components during development, you need to add the following configuration to `ui5-tooling-modules-task` and `ui5-tooling-modules-middleware`. Your `builder` and `customMiddleware` blocks inside the `ui5.yaml` file should look like this:

```yaml
builder:
customTasks:
- name: ui5-tooling-modules-task
afterTask: ui5-tooling-transpile-task
configuration:
pluginOptions:
webcomponents:
skipDtsGeneration: false
- name: ui5-tooling-transpile-task
afterTask: replaceVersion
- name: ui5-tooling-modules-task
afterTask: ui5-tooling-transpile-task
configuration:
pluginOptions:
webcomponents:
skipDtsGeneration: false
server:
customMiddleware:
- name: ui5-tooling-transpile-middleware
afterMiddleware: compression
- name: ui5-tooling-modules-middleware
afterMiddleware: ui5-tooling-transpile-middleware
configuration:
pluginOptions:
webcomponents:
skipDtsGeneration: false
- name: ui5-middleware-livereload
afterMiddleware: compression
```

### Exercise 6.2 - Install UI5 Web Components Packages
Expand Down