Browse Source

copy jsm to correct folder

Gregg Tavares 6 năm trước cách đây
mục cha
commit
c3978af0c8
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Gruntfile.js

+ 2 - 1
Gruntfile.js

@@ -185,8 +185,9 @@ module.exports = function(grunt) {
           files: [
             { expand: true, cwd: `${threePath}/build/`, src: 'three.js', dest: `${basePath}/`, },
             { expand: true, cwd: `${threePath}/build/`, src: 'three.min.js', dest: `${basePath}/`, },
+            { expand: true, cwd: `${threePath}/build/`, src: 'three.module.js', dest: `${basePath}/`, },
             { expand: true,  cwd: `${threePath}/examples/js/`, src: '**', dest: `${basePath}/js/`, },
-            { expand: true,  cwd: `${threePath}/examples/jsm/`, src: '**', dest: `${basePath}/js/`, },
+            { expand: true,  cwd: `${threePath}/examples/jsm/`, src: '**', dest: `${basePath}/jsm/`, },
           ],
         },
       },