Remote Dev
In the past, I had to import miniflare explicitly and check if it was in dev for setting access to D1 under dev. The new project I started to test wrangler/miniflare 3 does not need that and it works well, but it is always local.
1 Reply
@funmiles. for non-
wrangler
-based Dev Processes(like vite
), remote mode is not supported
And Pages dev also doesn't support it
Though, you may be able to get it to work by building your project, then using Workers Assets, rather than Pages