16 lines
568 B
JSON
16 lines
568 B
JSON
|
|
{
|
||
|
|
"$schema": "./node_modules/wrangler/config-schema.json",
|
||
|
|
// Default name; each storefront overrides it at deploy time with
|
||
|
|
// `wrangler deploy --name <worker>` (see config/stores.mjs + scripts/deploy.mjs).
|
||
|
|
"name": "ecommerce-shops",
|
||
|
|
"compatibility_date": "2026-06-01",
|
||
|
|
// Assets-only Worker: no `main` script, just the static export in ./out.
|
||
|
|
"assets": {
|
||
|
|
"directory": "./out",
|
||
|
|
// Static export uses trailingSlash: true -> /about/index.html
|
||
|
|
"html_handling": "force-trailing-slash",
|
||
|
|
// next export emits 404.html
|
||
|
|
"not_found_handling": "404-page"
|
||
|
|
}
|
||
|
|
}
|