Explorar o código

fixing remote build

Raanan Weber %!s(int64=7) %!d(string=hai) anos
pai
achega
87c0875254
Modificáronse 2 ficheiros con 5 adicións e 2 borrados
  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": [
         "types": [
             "node"
             "node"
         ],
         ],
-        "baseUrl": ".",
+        "baseUrl": "./",
         "paths": {
         "paths": {
             "babylonjs": [
             "babylonjs": [
                 "../dist/preview release/babylon.d.ts"
                 "../dist/preview release/babylon.d.ts"
@@ -33,5 +33,8 @@
         "node_modules",
         "node_modules",
         "dist",
         "dist",
         "tests"
         "tests"
+    ],
+    "include": [
+        "./src/**/*.ts"
     ]
     ]
 }
 }

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

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