import { readFileSync, readdirSync } from "node:fs";
import { join, resolve } from "node:path";
import { describe, expect, it } from "vitest";
import { withRootImportMap } from "./rootImportMap.js";
const BASE = "/api/projects/demo/preview/";
const maps = (html: string) =>
[...html.matchAll(/