Skip to content

Commit

Permalink
fix: 파일 확장자 .js로 변경 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperdad committed Aug 31, 2024
1 parent 536a611 commit eccb4ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions public/deployLoading.ts → public/deployLoading.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ function addInlineStyle() {
}

// 2. 특정 CSS 파일이 로드되면 요소를 숨기거나 제거하는 함수
function hideOrRemoveElementOnCssLoad(
selector: string,
cssFileUrl: string,
shouldRemove: boolean = false
) {
function hideOrRemoveElementOnCssLoad(selector, cssFileUrl, shouldRemove = false) {
const link = document.createElement("link");
link.rel = "stylesheet";
link.href = cssFileUrl;
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
"@utils/*": ["src/utils/*"]
}
},
"include": ["src", "global.d.ts", "api", "public/deployLoading.ts"]
"include": ["src", "global.d.ts", "api", "public/deployLoading.js"]
}

0 comments on commit eccb4ef

Please sign in to comment.