Thanks to Deno 2.8, you can import text files in Val Town.
import data from "./data.json" with { type: "text" };
import html from "./index.html" with { type: "text" };
import styles from "./styles.css" with { type: "text" };
import markdown from "./newsletter.md" with { type: "text" };
This val contains a simple server that imports and serves an HTML and a CSS file.