From 5fe9bff051a4de7c6178bc90053df7e10a7994f6 Mon Sep 17 00:00:00 2001 From: Jihoo Kim Date: Thu, 24 Aug 2023 16:05:04 +0900 Subject: [PATCH] fix: sw -> my-sw --- readme.md | 2 +- src/{sw.ts => my-sw.ts} | 0 vite.config.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{sw.ts => my-sw.ts} (100%) diff --git a/readme.md b/readme.md index 655aa175..c1179587 100644 --- a/readme.md +++ b/readme.md @@ -202,7 +202,7 @@ auth_check: "/auth-check", // HOC적용이 힘든 케이스에 사용할 검증 ┃ ┣ 📜logo.svg # 미사용 ┃ ┣ 📜react-app-env.d.ts # 미사용 ┃ ┣ 📜reportWebVitals.ts # 미사용 -┃ ┣ 📜sw.ts # PWA를 위한 서비스 워커 +┃ ┣ 📜my-sw.ts # PWA를 위한 서비스 워커 ┃ ┣ 📜serviceWorkerRegistration.ts # PWA를 위한 서비스 워커 ┃ ┣ 📜setupTests.ts # 미사용 ┃ ┗ 📜version.js # 버전 커밋 diff --git a/src/sw.ts b/src/my-sw.ts similarity index 100% rename from src/sw.ts rename to src/my-sw.ts diff --git a/vite.config.js b/vite.config.js index e01ca16d..19a5ee04 100644 --- a/vite.config.js +++ b/vite.config.js @@ -24,7 +24,7 @@ export default defineConfig({ globPatterns: ['**/*.{js,css,html,ico,png,svg,woff2,otf}'], }, srcDir: 'src', - filename: 'sw.ts', + filename: 'my-sw.ts', manifestFilename: 'manifest.json', }), ],