You already have an invoice template. It is HTML and CSS, it renders correctly in a browser, and the accountant wants a PDF. So you install Puppeteer, and now your container carries a Chromium build, your serverless bundle blows past the size limit, and you own a font package and a pile of shar...
Source: [Dev.to](https://dev.to/clausenetizen/render-pdf-invoices-from-an-html-template-without-putting-chromium-in-your-backend-265n)