aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-next/pages/errortest.tsx
blob: 49a293df793de70acdea28d6e98713cf4f6c3dd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import IndexPage from "pages/index";

export default function ErrorTestPage() {
  class Wow {}

  const ladee = "",
    foo = { bar: { boom: new Wow() } };

  if (typeof window === "undefined") {
    const Doge = import("wow/such-esm/very-import");
  }

  return <IndexPage />;
}