Explorar el Código

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

Mr.doob hace 4 años
padre
commit
3c51ef9458
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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 }`;
 
 		}