Explorar el Código

Add newline at end of file

Garrett Johnson hace 7 años
padre
commit
c57b480e7b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 

粤ICP备19079148号