Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 174 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 8 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import bundleAnalyzer from "@next/bundle-analyzer";
import { withSentryConfig } from "@sentry/nextjs";

const withBundleAnalyzer = bundleAnalyzer({
enabled: process.env.ANALYZE === "true",
});

/** @type {import('next').NextConfig} */
const nextConfig = {
const nextConfig = withBundleAnalyzer({
images: {
formats: ["image/avif", "image/webp"],
remotePatterns: [
{
protocol: "http",
Expand All @@ -19,7 +25,7 @@ const nextConfig = {
},
],
},
};
});

export default withSentryConfig(nextConfig, {
org: "meetie",
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "ANALYZE=true next build",
"start": "next start",
"lint": "eslint './src/**/*.{ts,tsx,js,jsx}'",
"lint:fix": "eslint --fix './src/**/*.{ts,tsx,js,jsx}'",
Expand All @@ -14,7 +14,8 @@
"e2e:ui": "playwright test --ui",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test": "vitest"
"test": "vitest",
"analyze": "ANALYZE=true next build"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.1",
Expand All @@ -41,6 +42,7 @@
"@chromatic-com/storybook": "^1.9.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@next/bundle-analyzer": "^15.0.4",
"@playwright/test": "1.41",
"@storybook/addon-docs": "^8.3.5",
"@storybook/addon-essentials": "^8.3.5",
Expand Down
3 changes: 1 addition & 2 deletions src/app/community/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ export default function CommunityPostListPage() {
<Suspense fallback={<CommunityBodySkeleton />}>
<ServerFetchBoundary fetchOptions={serverFetchOptions}>
<CommunityBody />
<CreatePostButton />
</ServerFetchBoundary>
</Suspense>

<CreatePostButton />

<Gnb />
</>
);
Expand Down
Loading
Loading