pnpm create emdash@latest potluck --pm pnpm --install --yes, per https://docs.emdashcms.com/ ("Create your first EmDash site"); the --yes defaults are cloudflare + blog. Replaces the old madmode/ starter (never committed). Generated-by: create-emdash 1.2.0, run by Claude Opus 5.5
26 lines
605 B
JSON
26 lines
605 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "my-emdash-site",
|
|
"main": "./src/worker.ts",
|
|
"compatibility_date": "2026-02-24",
|
|
"compatibility_flags": ["nodejs_compat"],
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "my-emdash-site",
|
|
},
|
|
],
|
|
"r2_buckets": [
|
|
{
|
|
"binding": "MEDIA",
|
|
"bucket_name": "my-emdash-media",
|
|
},
|
|
],
|
|
// Sandboxed plugins require Worker Loader, available on Workers paid plans. Uncomment to enable:
|
|
// "worker_loaders": [{ "binding": "LOADER" }],
|
|
// General maintenance cron trigger
|
|
"triggers": {
|
|
"crons": ["* * * * *"],
|
|
},
|
|
}
|