node:fs library as of right now. is there any alternative that can work on Functions?prince lib which calls the CLI to generate PDFs from HTML?prince should work on PagesNeither of these can run nodethis refers to functions and workers, right?
functions/[[path]].js and a functions/[[path]].js.map file. Do I expect stack traces to automatically use the sourcemap? Cause the logs are unreadable for me when I connect to a live function and an error happens.
tail.developers.workers.dev working right now?TypeError: Fetch API cannot load: /...
writeFileSync(`dist/${target}.html`, finalHtml);
await prince()
.license('./prince-license.xml')
.inputs(`dist/${target}.html`)
.output('dist/output.pdf')
.execute();
return new Response(readFileSync('dist/output.pdf'), {
... const request = new Request("/", payload);
const response = await env.WORKER_B.fetch(request);