next.js/test/e2e/app-dir/cache-components-dynamic-imports/external/app/page.tsx
page.tsx13 lines355 B
import * as React from 'react'
// NOTE: this is not actually external by default, only in one test where we patch `next.config.js`
import { getMessagesAsync } from 'external-esm-pkg-with-async-import'

export default async function Page() {
  const messages = await getMessagesAsync()
  return (
    <main>
      <p>{messages.title}</p>
    </main>
  )
}
Quest for Codev2.0.0
/
SIGN IN