Skip to content

Commit

Permalink
Rewrite incorrect docs for custom tasks' execution
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Sep 20, 2023
1 parent bc7279b commit 3f291ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/extensibility/CustomTasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Please note that custom tasks from third parties can not only modify your projec

You can configure your build process with additional build task. These custom tasks are defined in the project [configuration](../Configuration.md).

To hook your custom tasks into the different build phases of a project, they need to reference other tasks to be executed before or after. This can be a [standard task](../Builder.md#standard-tasks) or another custom task. Note that a custom task will only be executed if the referenced task is executed (i.e. is not disabled).
To hook your custom tasks into the different build phases of a project, they need to reference other tasks to be executed before or after. This can be a [standard task](../Builder.md#standard-tasks) or another custom task. Disabled standard tasks, although not executed, can still be referenced by custom tasks that will be carried out on the correct position.

In the below example, when building the library `my.library` the custom `babel` task will be executed before the standard task `generateComponentPreload`.
Another custom task called `renderMarkdownFiles` is then executed immediately after the standard task `minify`.
Expand Down

0 comments on commit 3f291ae

Please sign in to comment.