From c29171839be0d1411e742029a347eafb5f0405be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89verton=20Toffanetto?= Date: Wed, 29 Jan 2025 22:53:33 -0300 Subject: [PATCH] chore: comment out unused imports and experimental config in Next.js setup --- next.config.ts | 21 +++++++++++---------- src/app/(home)/page.tsx | 4 ++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/next.config.ts b/next.config.ts index 1c29c53..409d90d 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,16 +1,17 @@ import type { NextConfig } from 'next' const nextConfig: NextConfig = { - experimental: { - turbo: { - rules: { - '*.svg': { - loaders: ['@svgr/webpack'], - as: '*.js', - }, - }, - }, - }, + // experimental: { + // ppr: 'incremental', + // turbo: { + // rules: { + // '*.svg': { + // loaders: ['@svgr/webpack'], + // as: '*.js', + // }, + // }, + // }, + // }, images: { deviceSizes: [450, 640, 750, 828, 1080, 1200, 1920, 2048, 3840], remotePatterns: [{ diff --git a/src/app/(home)/page.tsx b/src/app/(home)/page.tsx index ee1ce7e..3ac45f5 100644 --- a/src/app/(home)/page.tsx +++ b/src/app/(home)/page.tsx @@ -2,7 +2,7 @@ import Image from 'next/image' import { CounterButton } from 'components/atoms/CounterButton' -import LogoReact from 'assets/logo-react.svg' +// import LogoReact from 'assets/logo-react.svg' import S from './styles.module.css' @@ -18,7 +18,7 @@ const Home = () => ( src="/images/logo-nextjs.webp" width={77} /> - + {/**/}

Nextjs + React