Maybe you want https://ekoopmans.github.io/html2pdf.js/
Maybe you want https://ekoopmans.github.io/html2pdf.js/
--commit-dirty does in wrangler pages deploy public --commit-dirty true?--commit-dirty Whether or not the workspace should be considered dirty for this deployment

child-process doesn't work since it uses Node and CF doesn't support that--commit-dirtywrangler pages deploy public --commit-dirty truenpx wrangler pages publish public --project-name="${{ inputs.cloudflare_app }}" --branch="${{ github.head_ref || github.ref_name }}" --no-bundle23:15:12 [vite] Error when evaluating SSR module /home/getpsyched/git/printer/src/routes/test/+server.ts: failed to import "html2pdf.js"
|- ReferenceError: self is not defined
at Object.<anonymous> (/home/getpsyched/git/printer/node_modules/html2pdf.js/dist/html2pdf.js:15:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)child-processbunx --bun vite build --ssr --log-level error
(cd dist && bun ssr.js {{PRESET}})
echo "Distributable files generated successfully!"