changeset 241:a4197519eb55 am

share tsconfig files between samples
author am@osimis.io
date Wed, 20 Jun 2018 09:50:25 +0200
parents ddbb339ed4cf
children 092db46c6291
files Applications/Samples/Web/tsconfig-samples.json Applications/Samples/Web/tsconfig-simple-viewer.json
diffstat 2 files changed, 17 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Applications/Samples/Web/tsconfig-samples.json	Wed Jun 20 09:50:25 2018 +0200
@@ -0,0 +1,14 @@
+{
+    "compilerOptions": {
+    "sourceMap": false,
+    "lib" : [
+        "es2017",
+        "dom"
+    ]
+    },
+    "include" : [
+        "../../../Platforms/Wasm/stone-framework-loader.ts",
+        "../../../Platforms/Wasm/wasm-application.ts",
+        "../../../Platforms/Wasm/wasm-viewport.ts"
+    ]
+}
--- a/Applications/Samples/Web/tsconfig-simple-viewer.json	Wed Jun 20 09:43:36 2018 +0200
+++ b/Applications/Samples/Web/tsconfig-simple-viewer.json	Wed Jun 20 09:50:25 2018 +0200
@@ -1,16 +1,9 @@
 {
+    "extends" : "./tsconfig-samples",
     "compilerOptions": {
-        "outFile": "../../../Platforms/Wasm/build-web/app-simple-viewer.js",
-        "sourceMap": false,
-        "lib" : [
-            "es2017",
-            "dom"
-        ]
+        "outFile": "../../../Platforms/Wasm/build-web/app-simple-viewer.js"
     },
     "include" : [
-        "simple-viewer.ts",
-        "../../../Platforms/Wasm/stone-framework-loader.ts",
-        "../../../Platforms/Wasm/wasm-application.ts",
-        "../../../Platforms/Wasm/wasm-viewport.ts"
+        "simple-viewer.ts"
     ]
 }
\ No newline at end of file