Browse Source

Merge branch 'nme-preview-redesign' of https://github.com/belfortk/Babylon.js into nme-preview-redesign

Kyle Belfort 5 years ago
parent
commit
30dc091c80
2 changed files with 9 additions and 2 deletions
  1. 4 0
      nodeEditor/custom.d.ts
  2. 5 2
      nodeEditor/tsconfig.json

+ 4 - 0
nodeEditor/custom.d.ts

@@ -0,0 +1,4 @@
+declare module "*.svg" {
+    const content: string;
+    export default content;
+}

+ 5 - 2
nodeEditor/tsconfig.json

@@ -24,5 +24,8 @@
     },
     "exclude": [
         "../../inspector"
-    ]
-}
+    ],
+    "files": [ 
+        "./custom.d.ts" 
+      ]  
+}