瀏覽代碼

Rollup: Added SPDX License in header. (#21421)

Mr.doob 4 年之前
父節點
當前提交
3c51ef9458
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      utils/build/rollup.config.js

+ 6 - 1
utils/build/rollup.config.js

@@ -259,7 +259,12 @@ function header() {
 
 		renderChunk( code ) {
 
-			return '// threejs.org/license\n' + code;
+			return `/**
+ * @license
+ * Copyright 2010-2021 Three.js Authors
+ * SPDX-License-Identifier: MIT
+ */
+${ code }`;
 
 		}