hi there!
hi there!
trying configure Pages from wrangler.toml and having a use-case not already covered by config:
monorepo with Vue app at
./frontend/
.
Pages builder complains about [build]
section not valid for Pages.
I'd like to set the build settings like this:
Didn't found any docs on this... 😦6 Replies
Hey, you can configure it in the dashboard with git integration.
Not sure if this is possible with a wrangler.toml but the dashboard might be a workaround for you
Thx @Wouter. sure, but I'd like to have it configured from
wrangler.toml
🙂Yep understandable. I tried to download my config with npx wrangler pages download config <project> but it does not seem to include the watch paths etc in it then.
mine neither. 😦
and the
[build]
section is workers-onlyhave you found it necessary to place wrangler.toml in the repo root? I'm having issues b/c my sveltekit project is in
web
dir and even setting path as web
doesn't work, b/c Cloudflare looks for wrangler.toml before it cwd's into web
during the build process.But moving wrangler.toml into the root doesn't seem to make sense b/c it won't apply to other projects in the monorepo. What am I missing?