Browse Source

copy jsm to correct folder

Gregg Tavares 5 years ago
parent
commit
c3978af0c8
1 changed files with 2 additions and 1 deletions
  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/`, },
           ],
         },
       },