Skip to content

Commit 67a3e8a

Browse files
committed
⚙ chore(#168): next-pwa 설치
1 parent 73b1139 commit 67a3e8a

7 files changed

Lines changed: 6463 additions & 362 deletions

File tree

next.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import withPWA from 'next-pwa';
2+
13
/** @type {import('next').NextConfig} */
24
const nextConfig = {
35
reactStrictMode: false,
@@ -10,4 +12,6 @@ const nextConfig = {
1012
}
1113
};
1214

13-
export default nextConfig;
15+
export default withPWA({
16+
dest: 'public'
17+
})(nextConfig);

package-lock.json

Lines changed: 3898 additions & 361 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@types/react-window": "^1.8.8",
4444
"eslint": "^8",
4545
"eslint-config-next": "14.2.5",
46+
"next-pwa": "^5.6.0",
4647
"typescript": "^5"
4748
},
4849
"description": "- 프레임워크: Next.js\r - 언어: TypeScript\r - 패키지 매니저: npm\r - CSS 프레임워크: styled-components\r - 전역상태관리: Recoil\r - 통신: Axios\r - 그외: Lint & Prettier",

public/sw.js

Lines changed: 101 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/sw.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)