浏览代码

Add newline at end of file

Garrett Johnson 6 年之前
父节点
当前提交
c57b480e7b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/modularize.js

+ 1 - 1
utils/modularize.js

@@ -83,7 +83,7 @@ function convert( path, ignoreList ) {
 
 	var keys = Object.keys( dependencies ).sort().map( value => '\n\t' + value ).toString();
 	var imports = `import {${keys}\n} from "../../../build/three.module.js";`;
-	var exports = `export { ${className} };`;
+	var exports = `export { ${className} };\n`;
 
 	var output = contents.replace( '_IMPORTS_', imports ) + '\n' + exports;