When i use wrangler init to create a basic worker, it uses vite, how do i create a simple worker?

I dont want to use vite, i just want a simple workter with wranger.toml file instead of vite dependencies
2 Replies
datacenterdude
When you do wrangler init it should walk you through a few steps to determine which type of deployment. One of them is "worker only" just know that it wil gen a .jsonc now instead of .toml
Ricky U
Ricky UOP2w ago
I see. It also bundles vite, but i dont need it for a simlpe function call, was hoping there was a way to still generate toml's no vite and just use wrangler -- all the docs and videos on cf official yt channel0 show that "worker only" will do this, but it doesnt .

Did you find this page helpful?