Raanan Weber 7 лет назад
Родитель
Сommit
87c0875254
2 измененных файлов с 5 добавлено и 2 удалено
  1. 4 1
      Viewer/tsconfig-gulp.json
  2. 1 1
      Viewer/webpack.gulp.config.js

+ 4 - 1
Viewer/tsconfig-gulp.json

@@ -19,7 +19,7 @@
         "types": [
             "node"
         ],
-        "baseUrl": ".",
+        "baseUrl": "./",
         "paths": {
             "babylonjs": [
                 "../dist/preview release/babylon.d.ts"
@@ -33,5 +33,8 @@
         "node_modules",
         "dist",
         "tests"
+    ],
+    "include": [
+        "./src/**/*.ts"
     ]
 }

+ 1 - 1
Viewer/webpack.gulp.config.js

@@ -1,5 +1,5 @@
 module.exports = {
-    context: __dirname,
+    // context: __dirname,
     entry: [
         __dirname + '/src/index.ts'
     ]