mirror of
https://github.com/elder-plinius/LEAKHUB.git
synced 2026-02-12 16:52:53 +00:00
🔧 FIX: Updated deployment command in package.json and restructured wrangler.jsonc for asset configuration and compatibility date
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"build": "tsc --noEmit && vite build",
|
||||
"lint": "tsc && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview",
|
||||
"deploy": "npm run build && npx wrangler pages deploy",
|
||||
"deploy": "npm run build && npx wrangler deploy",
|
||||
"cf-typegen": "npx wrangler types"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "leakhub",
|
||||
"pages_build_output_dir": "./dist",
|
||||
// Workers Assets configuration - replaces Pages' pages_build_output_dir
|
||||
"assets": { "directory": "./dist" },
|
||||
// Required compatibility date for Workers runtime features
|
||||
"compatibility_date": "2025-06-05",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user