next.js/test/e2e/app-dir/dynamic/app/chunk-loading/page.js
page.js14 lines248 B
// This file is needed for the test, to ensure that the "comp.js" module is
// created as a dynamic import chunk.

'use client'

function noop() {}

export default function Page() {
  import('./comp').then((m) => {
    noop(m)
  })
  return null
}
Quest for Codev2.0.0
/
SIGN IN