The PowerPoint packages are in private preview with alpha customers. Contact us to get access.
Install
Optional native modules (Node)
PDF export needs none of these. They are optional; without one, the feature it serves is not available or uses a slower path.Bundlers
- The package has a
browserexport condition. Vite, webpack and esbuild select the browser build when they bundle for a page, so webpack and Next.js bundle it withoutfserrors. - Keep
@reductoai/pptx/nodeout of client code. Mark@resvg/resvg-js,sharpandskia-canvasas external in a browser bundle.
Smoke test
npx tsx smoke.ts (or compile it first). Open hello.pdf.