Blog Post: {slug.join(' / ')}
You are reading: {slug.length === 0 ? 'the blog index' : slug.join('/')}
{JSON.stringify(metaInfo, null, 2)}
import { describe, expect, test } from "bun:test"; import { existsSync } from "fs"; import { bunEnv, bunExe } from "harness"; import path from "path"; import { tempDirWithBakeDeps } from "../bake-harness"; const normalizePath = (path: string) => (process.platform === "win32" ? path.replaceAll("\\", "/") : path); const platformPath = (path: string) => (process.platform === "win32" ? path.replaceAll("/", "\\") : path); /** * Production build tests */ describe("production", () => { test("works with sourcemaps - error thrown in React component", async () => { const dir = await tempDirWithBakeDeps("bake-production-sourcemap", { "src/index.tsx": `export default { app: { framework: "react" } };`, "pages/index.tsx": `export default function IndexPage() { throw new Error("oh no!"); return
{JSON.stringify(metaInfo, null, 2)}
{values.join("\\n")}
You are reading: {slug.length === 0 ? 'the blog index' : slug.join('/')}
{JSON.stringify(metaInfo, null, 2)}
Reading docs at: /{path.join('/')}
This is a static page, not a catch-all route.
Count: {count}