create-cloudflare
Version:
A CLI for creating and deploying new applications to Cloudflare.
27 lines (24 loc) • 565 B
text/typescript
import type { TemplateConfig } from "../../src/templates";
const config: TemplateConfig = {
configVersion: 1,
id: "hello-world-durable-object-with-assets",
path: "templates/hello-world-durable-object-with-assets",
displayName: "Worker + Durable Objects + Assets",
description:
"For full-stack applications requiring static assets, an API, and real-time coordination",
platform: "workers",
copyFiles: {
variants: {
js: {
path: "./js",
},
ts: {
path: "./ts",
},
python: {
path: "./py",
},
},
},
};
export default config;