mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? * add `turbo.resolveExtensions` to allow to customize extensions in Turbopack fixes PACK-2335 Fixes https://github.com/vercel/turbo/issues/4934
15 lines
284 B
React
15 lines
284 B
React
'use client'
|
|
|
|
import image from './image'
|
|
import Image from 'next/image'
|
|
|
|
export default function Component() {
|
|
return (
|
|
<p>
|
|
<Image src={image} alt="hello image 2" />
|
|
hello world
|
|
{typeof window !== 'undefined' ? 'hello client' : 'hello server'}
|
|
</p>
|
|
)
|
|
}
|