Browse Source

copy jsm folder when getting new three.js

Gregg Tavares 5 years ago
parent
commit
aa2db5e656
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Gruntfile.js

+ 1 - 0
Gruntfile.js

@@ -186,6 +186,7 @@ module.exports = function(grunt) {
             { 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}/examples/js/`, src: '**', dest: `${basePath}/js/`, },
+            { expand: true,  cwd: `${threePath}/examples/jsm/`, src: '**', dest: `${basePath}/js/`, },
           ],
         },
       },