zszszsz
01/21/2023, 12:04 AMzszszsz
01/21/2023, 12:06 AMwrangler pages dev --port 8788 --d1 presentor --persist
The Tank
01/21/2023, 12:06 AMThe Tank
01/21/2023, 12:07 AMzszszsz
01/21/2023, 12:07 AM--local
is said to be the default optionzszszsz
01/21/2023, 12:08 AMThe Tank
01/21/2023, 12:09 AMThe Tank
01/21/2023, 12:12 AMThe Tank
01/21/2023, 12:12 AMzszszsz
01/21/2023, 12:13 AMzszszsz
01/21/2023, 12:13 AM--d1 presentor
instead of --d1=presentor
zszszsz
01/21/2023, 12:13 AMThe Tank
01/21/2023, 12:18 AMThe Tank
01/21/2023, 12:18 AMThe Tank
01/21/2023, 12:18 AMzszszsz
01/21/2023, 12:21 AMwrangler pages dev --kv <kv> --d1 <d1> --persist --port 3000 --proxy 3001 --live-reload -- <proxied>
zszszsz
01/21/2023, 12:21 AMThe Tank
01/21/2023, 12:21 AMzszszsz
01/21/2023, 12:22 AMzszszsz
01/21/2023, 12:24 AMzszszsz
01/21/2023, 12:24 AM--d1 foo
, then it is context.env.foo
The Tank
01/21/2023, 12:25 AMThe Tank
01/21/2023, 1:16 AMWilliam.
01/21/2023, 6:17 AMNote: No functions dir at /functions found. Skipping.
But my functions works in wrangler, i've even included my functions folder into the /dist build output folder, which looks like screen below.
I also tried using a bash script to build my project and cp function at the root of my project to the dist folder, but everytime the build logs says no functions dir was found, any idea ?monad
01/21/2023, 6:18 AMfunctions
has to be in root dir.William.
01/21/2023, 6:19 AMmonad
01/21/2023, 6:19 AMWilliam.
01/21/2023, 6:20 AMmonad
01/21/2023, 6:21 AM