瀏覽代碼

copy jsm to correct folder

Gregg Tavares 6 年之前
父節點
當前提交
c3978af0c8
共有 1 個文件被更改,包括 2 次插入1 次删除
  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/`, },
           ],
         },
       },