mirror of
https://github.com/prdlk/leetcode.git
synced 2026-09-17 07:26:27 +00:00
29 lines
844 B
JSON
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
|
|
}
|