Skip to content

Commit 769d9c8

Browse files
authored
Merge pull request #169 from ASAP-Lettering/chore/#168
[Chore] PWA 설정
2 parents d40b25d + 8e276fa commit 769d9c8

File tree

12 files changed

+6557
-365
lines changed

12 files changed

+6557
-365
lines changed

next.config.mjs

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import withPlugins from 'next-compose-plugins';
2+
import withPWA from 'next-pwa';
3+
import typescript from 'next-plugin-graphql';
4+
15
/** @type {import('next').NextConfig} */
26
const nextConfig = {
37
reactStrictMode: false,
@@ -10,4 +14,24 @@ const nextConfig = {
1014
}
1115
};
1216

13-
export default nextConfig;
17+
export default withPlugins(
18+
[
19+
[
20+
withPWA,
21+
{
22+
pwa: {
23+
dest: 'public'
24+
}
25+
}
26+
],
27+
[
28+
typescript,
29+
{
30+
typescriptLoaderOptions: {
31+
transpileOnly: false
32+
}
33+
}
34+
]
35+
],
36+
nextConfig
37+
);

package-lock.json

Lines changed: 3936 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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"framer-motion": "^11.4.0",
2121
"js-cookie": "^3.0.5",
2222
"next": "14.2.5",
23+
"next-compose-plugins": "^2.2.1",
24+
"next-plugin-graphql": "^0.0.2",
2325
"react": "^18",
2426
"react-beautiful-dnd": "^13.1.1",
2527
"react-dom": "^18",
@@ -43,6 +45,7 @@
4345
"@types/react-window": "^1.8.8",
4446
"eslint": "^8",
4547
"eslint-config-next": "14.2.5",
48+
"next-pwa": "^5.6.0",
4649
"typescript": "^5"
4750
},
4851
"description": "- 프레임워크: Next.js\r - 언어: TypeScript\r - 패키지 매니저: npm\r - CSS 프레임워크: styled-components\r - 전역상태관리: Recoil\r - 통신: Axios\r - 그외: Lint & Prettier",

public/icon_512_maskable.png

28.4 KB
Loading

public/icon_512_rounded.png

35.7 KB
Loading

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.

0 commit comments

Comments
 (0)