Files
leetcode/docs/wrangler.jsonc
T

29 lines
844 B
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "leetcode-docs",
"main": "./dist/server/index.js",
"compatibility_date": "2026-08-13",
"compatibility_flags": ["nodejs_als"],
"workers_dev": false,
"preview_urls": true,
"build": {
// waku's cloudflare build enhancer writes a .wrangler/deploy redirect to its minimal
// generated config (no routes/preview_urls); remove it so this file stays authoritative.
"command": "bun run build && rm -rf .wrangler/deploy",
"watch_dir": "content"
},
"routes": [
{
"pattern": "lc.prad.codes",
"custom_domain": true
}
],
"assets": {
"binding": "ASSETS",
"directory": "./dist/public",
"html_handling": "drop-trailing-slash"
},
"rules": [{ "type": "ESModule", "globs": ["**/*.js", "**/*.mjs"] }],
"no_bundle": true
}