Mr.doob 5 лет назад
Родитель
Сommit
74f57df75c
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      utils/build/rollup.config.js

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

@@ -243,13 +243,11 @@ function bubleCleanup() {
 
 function header() {
 
-	const template = "// threejs.org/license\n${code}";
-
 	return {
 
 		renderChunk( code ) {
 
-			return template.replace( '${code}', code );
+			return "// threejs.org/license\n" + code;
 
 		}