Skip to content

Commit

Permalink
Add @vercel/speed-insights package
Browse files Browse the repository at this point in the history
  • Loading branch information
syofyanzuhad committed Jan 28, 2024
1 parent 86eac8c commit beb2657
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@types/react": "17.0.52",
"@types/react-dom": "^18.2.18",
"@vercel/analytics": "^0.1.3",
"@vercel/speed-insights": "^1.0.8",
"babel-polyfill": "^6.26.0",
"classnames": "^2.3.1",
"date-fns": "^2.22.1",
Expand Down
4 changes: 3 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ISkills } from '@Types';
import styled from 'styled-components';
import Typed from 'react-typed';
import splitbee from '@splitbee/web';

import { SpeedInsights } from "@vercel/speed-insights/next";
import { Container } from 'Atoms/Container';
import { SeoHead } from 'Atoms/SeoHead';

Expand Down Expand Up @@ -68,6 +68,8 @@ function Home({ skills }: IProps) {
.
</p>
</Container>

<SpeedInsights />
</>
);
}
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3425,6 +3425,11 @@
resolved "https://registry.npmjs.org/@vercel/analytics/-/analytics-0.1.3.tgz"
integrity sha512-zJuEwzvi0bBmWrMrj9jvyMS+X6iUdW3m/y5P7aOLwJQKHsJyfpdINo/4Rv+wxubz3gl4nRqIQdtOFCe1P1ErXQ==

"@vercel/speed-insights@^1.0.8":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@vercel/speed-insights/-/speed-insights-1.0.8.tgz#cd317fb2ce99d69d200ba66efd0122a3984e5b89"
integrity sha512-x1V9MHUMGkaNafmgY0qRbmbr+jfeU+Cvo5KgreeEGo63SFuBYRg9RS52GUJ9p82nEL6NBzc9HNru6fkcvufYcQ==

"@webassemblyjs/[email protected]":
version "1.9.0"
resolved "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz"
Expand Down

0 comments on commit beb2657

Please sign in to comment.