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.
14 lines
200 B
TOML
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"
|