Advanced
Tags
Tags are selection metadata for Targets, CLI filters, Catalog search, and code generation. Tags do not generate datafiles by themselves.
The more targeted the datafiles are, the smaller they are in size, and the faster they are loaded by your applications.
Tagging events#
For e.g., when defining an event, you can add a tag like this:
# ...tags: - webThe same is applicable to all other entities equally.
Project configuration#
Your project configuration lists all the tags that are available for your entities:
module.exports = { tags: [ "web", "mobile", "backend", ],};Targets and datafiles#
Select a tag from a named Target:
description: Web applicationtag: webOr require several tags:
tags: and: [web, checkout]npx eventvisor build now emits eventvisor-web.json for this Target. Runtime dependencies are included even when they do not carry the selected tag, unless explicitly excluded by the Target.
Use --tag on supported inspection, testing, generation, and custom JSON commands when a temporary filter is useful.

