Browse Source

Fix node.js build script error (Headers not commented)

Joshua Koo 11 năm trước cách đây
mục cha
commit
d1889abc5b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      utils/build/build.js

+ 1 - 1
utils/build/build.js

@@ -68,7 +68,7 @@ function main() {
 
 		var result = uglify.minify( sources, { outSourceMap: sourcemap } );
 		
-		fs.writeFileSync( output, 'three.js / threejs.org/license\n' + result.code + sourcemapping, 'utf8' );
+		fs.writeFileSync( output, '// three.js / threejs.org/license\n' + result.code + sourcemapping, 'utf8' );
 
 		if ( args.sourcemaps ) {