-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] ProjectBuilder: Add
outputStyle
option to request flat bu…
…ild output (#624) New option `outputStyle`. Whether to omit the `/resources/<namespace>` directory structure in the build output. Resolves SAP/ui5-tooling#507 --------- Co-authored-by: Yavor Ivanov <yavor.ivanov@sap.com> Co-authored-by: Yavor Ivanov <d3xter666@users.noreply.github.com> Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
- Loading branch information
1 parent
1ddfd37
commit 79312fc
Showing
7 changed files
with
270 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Processes build results into a specific directory structure. | ||
* | ||
* @public | ||
* @readonly | ||
* @enum {string} | ||
* @property {string} Default The default directory structure for every project type. | ||
* For applications this is identical to "Flat" and for libraries to "Namespace". | ||
* Other types have a more distinct default output style. | ||
* @property {string} Flat Omits the project namespace and the "resources" directory. | ||
* @property {string} Namespace Respects project namespace and the "resources" directory. | ||
* @module @ui5/project/build/ProjectBuilderOutputStyle | ||
*/ | ||
export default { | ||
Default: "Default", | ||
Flat: "Flat", | ||
Namespace: "Namespace" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.