Skip to content

Commit 5572ea2

Browse files
committed
[YS-565] chore: SpeedInsights 적용
1 parent 470d356 commit 5572ea2

3 files changed

Lines changed: 42 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"@vanilla-extract/dynamic": "^2.1.2",
3232
"@vanilla-extract/next-plugin": "^2.4.8",
3333
"@vanilla-extract/recipes": "^0.5.5",
34+
"@vercel/speed-insights": "^1.2.0",
3435
"date-fns": "^4.1.0",
3536
"jira-prepare-commit-msg": "^1.7.2",
3637
"next": "14.2.25",

pnpm-lock.yaml

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

src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { SpeedInsights } from '@vercel/speed-insights/next';
12
import type { Metadata } from 'next';
23
import { getServerSession } from 'next-auth';
34

@@ -65,6 +66,7 @@ export default async function RootLayout({
6566
<html lang="ko" className={pretendard.className}>
6667
<body suppressHydrationWarning={true}>
6768
<Providers session={session}>{children}</Providers>
69+
<SpeedInsights />
6870
</body>
6971
</html>
7072
);

0 commit comments

Comments
 (0)