Browse Source

viewer physics dependencies are optional

Raanan Weber 7 năm trước cách đây
mục cha
commit
933e3b8541
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Viewer/webpack.gulp.config.js

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

@@ -10,7 +10,8 @@ module.exports = {
         umdNamedDefine: true
     },
     externals: {
-        cannon: true,
+        cannon: 'CANNON',
+        oimo: 'OIMO',
         vertx: true
     },
     resolve: {