Sink/wrangler.toml
ccbikai 13b3f5a8ea feat: configure workers env and enforce compatibility
Enhances Cloudflare Workers configuration and compatibility settings:

- Enables worker execution based on provider/runtime conditions
- Sets compatibility date specifically for Cloudflare to 2025-05-08
- Enforces module compatibility through experimental flag
- Configures Wrangler with proper asset bindings and server entry point

This update improves deployment reliability and ensures consistent behavior across different environments.
2025-05-20 21:12:19 +08:00

14 lines
200 B
TOML

name = "sink"
main = "dist/server/index.mjs"
compatibility_date = "2025-05-08"
upload_source_maps = true
[assets]
directory = "dist/public"
binding = "ASSETS"
[dev]
port = 3000
[ai]
binding = "AI"