Skip to content

Commit

Permalink
chore: comment out unused imports and experimental config in Next.js …
Browse files Browse the repository at this point in the history
…setup
  • Loading branch information
everton-dgn committed Jan 30, 2025
1 parent f7e0d8e commit c291718
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 11 additions & 10 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -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: [{
Expand Down
4 changes: 2 additions & 2 deletions src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -18,7 +18,7 @@ const Home = () => (
src="/images/logo-nextjs.webp"
width={77}
/>
<LogoReact data-testid="logo-react" />
{/*<LogoReact data-testid="logo-react" />*/}
</div>
<h1 className={S.title}>Nextjs + React</h1>
<CounterButton />
Expand Down

0 comments on commit c291718

Please sign in to comment.