aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/typescript
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2014-09-12 05:42:30 -0400
committerJake Petroules <jake.petroules@petroules.com>2014-09-12 12:46:29 +0200
commit2a0eb3cba344a057cf3069fef64ffa92f3314801 (patch)
tree656b830926e2c44589a7a29c3d7891d561a115c0 /share/qbs/modules/typescript
parent005080d309b8aae9b493f8d39828145f34268fb2 (diff)
Make outputFileTags a static list in TypeScriptModule.
Change-Id: I34fa295f9ea577cf729e3c1f407521413abb90b1 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'share/qbs/modules/typescript')
-rw-r--r--share/qbs/modules/typescript/TypeScriptModule.qbs11
1 files changed, 1 insertions, 10 deletions
diff --git a/share/qbs/modules/typescript/TypeScriptModule.qbs b/share/qbs/modules/typescript/TypeScriptModule.qbs
index 8f80b7ce6..5e2e6d9de 100644
--- a/share/qbs/modules/typescript/TypeScriptModule.qbs
+++ b/share/qbs/modules/typescript/TypeScriptModule.qbs
@@ -163,16 +163,7 @@ Module {
return artifacts;
}
- outputFileTags: {
- var fileTags = ["js", "compiled_typescript"];
- if (product.moduleProperty("nodejs", "applicationFile"))
- fileTags.push("application_js");
- if (product.moduleProperty("typescript", "generateDeclarations"))
- fileTags.push("typescript_declaration");
- if (product.moduleProperty("typescript", "generateSourceMaps"))
- fileTags.push("source_map");
- return fileTags;
- }
+ outputFileTags: ["application_js", "compiled_typescript", "js", "source_map", "typescript_declaration"]
prepare: {
var i;