Skip to content

Commit

Permalink
[INTERNAL] TaskUtil: Document standard tag 'IsBundle'
Browse files Browse the repository at this point in the history
Seems like an oversight in #535.
The tag can already be used and should be documented in the API reference
  • Loading branch information
RandomByte committed Nov 10, 2021
1 parent ed0da12 commit 2203226
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
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 ("bundle") multiple other resources
*/

/**
Expand Down

0 comments on commit 2203226

Please sign in to comment.