astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
12 lines (11 loc) • 299 B
JavaScript
import fetchable from "virtual:astro:fetchable";
import { manifest } from "virtual:astro:manifest";
import { App } from "../../app.js";
const createApp = ({ streaming } = {}) => {
const app = new App(manifest, streaming);
app.setFetchHandler(fetchable);
return app;
};
export {
createApp
};