admah
04/03/2023, 8:47 PMAlisson Acioli
04/03/2023, 8:55 PMJames
04/03/2023, 8:57 PMenv
, call it inside request scope, and then maybe cache the initiated thing on globalThis
perhaps?Alisson Acioli
04/03/2023, 8:58 PMAlisson Acioli
04/03/2023, 8:59 PMJames
04/03/2023, 9:02 PM--define
with placeholders like TOKEN_URL_HERE
which will replace them as the script is built - see --define
docs under https://developers.cloudflare.com/workers/wrangler/commands/#publishJames
04/03/2023, 9:02 PMAlisson Acioli
04/03/2023, 9:04 PMhanpolo
04/03/2023, 9:37 PMJames
04/03/2023, 9:38 PMzizi
04/04/2023, 12:36 AMCyb3r-Jok3
04/04/2023, 12:48 AMIsak
04/04/2023, 1:30 AMWorkers Browser Rendering API
private beta?HardAtWork
04/04/2023, 7:38 AMworkerd
is its own runtime, rather than just Node, is that Node is a very heavy-handed approach to Serverless. Take, for example, AWS Lambda. While it is a Serverless provider, similar to Workers, it runs Node. It’s startup times number in the hundreds of milliseconds, it uses a lot more memory/CPU just for the runtime, etc. workerd
is lighter, which makes it faster and cheaper, but also means it can’t just support everything a full Node runtime can out of the boxMagnusIntergiro
04/04/2023, 8:44 AMoutcome: "canceled"
and stopping midway. I need the calls to finish completely even if it gets a cancel signal.
Is it possible to configure the workers to finish the work even if a cancel
signal is sent?zegevlier
04/04/2023, 8:59 AMSkye
04/04/2023, 9:17 AMzaeem
04/04/2023, 11:08 AMwrangler dev --minify true --env staging
if I add -- local flag i.e` wrangler dev --local --minify true --env staging` its working perfectly,
any idea ?Skye
04/04/2023, 11:24 AMwrangler logout
and wrangler login
again?zaeem
04/04/2023, 11:48 AMSkye
04/04/2023, 12:15 PMnode_modules/.cache/wrangler
and delete everything there?Isak
04/04/2023, 12:19 PMSpoleto
04/04/2023, 2:08 PMchientrm
04/04/2023, 2:09 PMSpoleto
04/04/2023, 2:09 PMSkye
04/04/2023, 2:10 PMSkye
04/04/2023, 2:10 PMSpoleto
04/04/2023, 2:11 PMSpoleto
04/04/2023, 2:11 PMSpoleto
04/04/2023, 2:11 PM