浏览代码

Update build.js

gero3 11 年之前
父节点
当前提交
bdb02a8f22
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 } );
 		var result = uglify.minify( sources, { outSourceMap: sourcemap } );
 		
 		
-		fs.writeFileSync( output, result.code + sourcemapping, 'utf8' );
+		fs.writeFileSync( output, 'three.js - http://github.com/mrdoob/three.js\n// Released under the MIT license.\n// https://github.com/mrdoob/three.js/blob/master/LICENSE\n' + result.code + sourcemapping, 'utf8' );
 
 
 		if ( args.sourcemaps ) {
 		if ( args.sourcemaps ) {