소스 검색

chore: build

Sv443 1 년 전
부모
커밋
e4b9c537e4
2개의 변경된 파일4개의 추가작업 그리고 2984개의 파일을 삭제
  1. 3 2983
      dist/BetterYTM.user.js
  2. 1 1
      src/tools/post-build.ts

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3 - 2983
dist/BetterYTM.user.js


+ 1 - 1
src/tools/post-build.ts

@@ -91,7 +91,7 @@ type BuildStats = {
       }, 
     )
       // needs special treatment because the double quotes need to be replaced with backticks
-      .replace(/"(\/\*)?{{GLOBAL_STYLE}}(\*\/)?"/gm, `/* BetterYTM - global style */\n\`${globalStyle}\``);
+      .replace(/"(\/\*)?{{GLOBAL_STYLE}}(\*\/)?"/gm, `/* BetterYTM - global style */${mode === "development" ? "\n" : ""}\`${globalStyle}\``);
 
     if(mode === "production")
       userscript = remSourcemapComments(userscript);

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.