cloudflare / cloudflare/images.pages.dev

Simplify project structure as promised

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
127
Forks
60
PR merge metrics
No merged PRs in 30d

Description

From the readme:

> At present, wrangler v2 does not support Durable Objects, which is why this exists in its own little package. We'll update this repo when we can simplify the deployment process.

Since there is nowhere in the docs that says anything about *how* to actually create a durable object in a Pages project, I am very relieved to have finally found this project. Unfortunately, it seems this is out of date.

It would also be nice to have some clarity on why the 'utils' directory can contain modules that don't serve a route. The docs suggest that ALL files in the 'functions' directory serve routes, with _middleware being a special case. What happens if someone requests 'http://xxx.xxx/utils/constants'?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.