Files
next.js/test/integration/telemetry/app/app-dir/page.js
Sebastian "Sebbie" SilbermannandGitHub 99bf5e9aa1 Add (failing) test for module based feature telemetry in App Router (#75952)
Noticed this while adding bundle layers to Pages router. The telemetry Webpack plugin is picking up these features but then we're not recording them properly.
2025-02-12 18:29:47 +01:00

17 lines
389 B
JavaScript

import Image from 'next/image'
import LegacyImage from 'next/legacy/image'
import profilePic from '../../public/small.jpg'
function About() {
return (
<>
<h1>My Homepage</h1>
<LegacyImage src={profilePic} alt="Picture of the author" />
<Image src={profilePic} alt="Picture of the author" />
<p>Welcome to my homepage!</p>
</>
)
}
export default About