Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTERNAL] TaskUtil: Document standard tag 'IsBundle' #661

Merged
merged 1 commit into from
Nov 16, 2021
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions lib/builder/ProjectBuildContext.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
const ResourceTagCollection = require("@ui5/fs").ResourceTagCollection;

// Note: When adding standard tags, always update the public documentation in TaskUtil
// (Type "module:@ui5/builder.tasks.TaskUtil~StandardBuildTags")
const STANDARD_TAGS = Object.freeze({
OmitFromBuildResult: "ui5:OmitFromBuildResult",
IsBundle: "ui5:IsBundle"
Expand Down
2 changes: 2 additions & 0 deletions lib/tasks/TaskUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class TaskUtil {
* @typedef {object} module:@ui5/builder.tasks.TaskUtil~StandardBuildTags
* @property {string} OmitFromBuildResult
* Setting this tag to true for a resource will prevent it from being written to the build target
* @property {string} IsBundle
* This tag identifies resources that contain (i.e. bundle) multiple other resources
*/

/**
Expand Down