Location of `wrangler.jsonc` file in sveltekit app on cloudflare workers.
I have a Sveltekit app where I am trying to locate the
The app deploys if the wrangler is in root but when i move it to the config directory it fails with the following message:
wrangler 4.53.0
───────────────────
✘ [ERROR] Missing entry-point to Worker script or to assets directory
If there is code to deploy, you can either:
wrangler.jsonc file in a config sub-directory and . My svelte.config.js file is as follows:The app deploys if the wrangler is in root but when i move it to the config directory it fails with the following message:
───────────────────
✘ [ERROR] Missing entry-point to Worker script or to assets directory
If there is code to deploy, you can either:
- Specify an entry-point to your Worker script via the command line (ex:
pnpm wrangler deploy src/index.ts) - Or create a "wrangler.jsonc" file containing:```{"name": "worker-name","compatibility_date": "2025-12-09","main": "src/index.ts"}```