build: add Cloudflare static export and deploy config
This commit is contained in:
16
wrangler.jsonc
Normal file
16
wrangler.jsonc
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/cloudflare/workers-sdk/main/packages/wrangler/config-schema.json",
|
||||
"name": "luca-pislaru-portfolio",
|
||||
"compatibility_date": "2026-09-05",
|
||||
"workers_dev": false,
|
||||
"preview_urls": false,
|
||||
"routes": [
|
||||
{ "pattern": "lucapislaru.ro", "custom_domain": true }
|
||||
],
|
||||
"build": { "command": "npm run build:production" },
|
||||
"assets": {
|
||||
"directory": "./dist-cloudflare",
|
||||
"html_handling": "auto-trailing-slash",
|
||||
"not_found_handling": "none"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user