Files
hyperframes/packages
Miguel ÁngelandClaude Opus 4.6 2bde83d5e3 fix(producer): externalize postcss to fix ESM dynamic require
postcss is a CJS module that uses `require("path")` internally.
When esbuild bundles it into the ESM producer output, the dynamic
require call fails at runtime with "Dynamic require of path is
not supported". This broke `npx tsx cli render` and `npx tsx cli
preview` from the local dev build.

Fix: add postcss to the external list alongside puppeteer and
esbuild — it stays as a runtime dependency resolved from
node_modules instead of being bundled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 15:18:25 +00:00
..
2026-04-03 04:36:19 +00:00