Files
cloudflare__vinext/examples/static-export/deploy/wrangler.jsonc
James Anderson c1a78a73d8 fix(build): support trailing-slash static exports (#3081)
* fix(build): support trailing-slash static exports

* fix(ci): initialize static export preview routes

* fix(build): emit trailing-slash 404 fallback

* docs(build): clarify static export page count
2026-08-26 23:01:09 +01:00

15 lines
498 B
JSON

{
"$schema": "../node_modules/wrangler/config-schema.json",
"name": "static-export",
// Newest date supported by the repository-pinned Wrangler/workerd.
"compatibility_date": "2026-04-08",
"preview_urls": true,
"assets": {
// This is the complete deployable artifact. There is deliberately no
// Worker entry point that could hide a missing static route.
"directory": "../dist/client",
"html_handling": "force-trailing-slash",
"not_found_handling": "404-page"
}
}