discondition
discondition
CDCloudflare Developers
Created by discondition on 11/15/2024 in #workers-help
Configuration file for Pages projects does not support "observability"
Nice, looking forward to it
8 replies
CDCloudflare Developers
Created by discondition on 11/15/2024 in #workers-help
Configuration file for Pages projects does not support "observability"
Oh really? Thanks I had no idea
8 replies
CDCloudflare Developers
Created by discondition on 11/15/2024 in #workers-help
Configuration file for Pages projects does not support "observability"
I made a PR
8 replies
CDCloudflare Developers
Created by discondition on 11/15/2024 in #workers-help
Configuration file for Pages projects does not support "observability"
Yeah I just edited the file, and it works 🤔
8 replies
CDCloudflare Developers
Created by discondition on 11/15/2024 in #workers-help
Configuration file for Pages projects does not support "observability"
Just checked the file at node_modules/wrangler/wrangler-dist/cli.js Looks like a bug:
var supportedPagesConfigFields = [
"pages_build_output_dir",
"name",
"compatibility_date",
"compatibility_flags",
"send_metrics",
"limits",
"placement",
"vars",
"durable_objects",
"kv_namespaces",
"queues",
// `producers` ONLY
"r2_buckets",
"d1_databases",
"vectorize",
"hyperdrive",
"services",
"analytics_engine_datasets",
"ai",
"version_metadata",
"dev",
"mtls_certificates",
"browser",
// normalizeAndValidateConfig() sets this value
"configPath",
"upload_source_maps"
];
var supportedPagesConfigFields = [
"pages_build_output_dir",
"name",
"compatibility_date",
"compatibility_flags",
"send_metrics",
"limits",
"placement",
"vars",
"durable_objects",
"kv_namespaces",
"queues",
// `producers` ONLY
"r2_buckets",
"d1_databases",
"vectorize",
"hyperdrive",
"services",
"analytics_engine_datasets",
"ai",
"version_metadata",
"dev",
"mtls_certificates",
"browser",
// normalizeAndValidateConfig() sets this value
"configPath",
"upload_source_maps"
];
Shouldn't observability be a key in here?
8 replies
CDCloudflare Developers
Created by Amos on 11/3/2024 in #workers-help
React + Vite SPA
Just use Pages if you're hosting a SPA static bundle like React.
2 replies