Skip to content

v0.3.0 — self-contained build

Choose a tag to compare

@olimsaidov olimsaidov released this 13 Jun 18:53
· 7 commits to master since this release
e2cf52f

Self-contained package — no more transpilePackages

@olimsaidov/icdp/frame and /host now ship as self-contained ESM: their runtime dependencies (including the CommonJS chobitsu) are inlined at build time, so the published entries have no bare imports.

Consumers' bundlers no longer need transpilePackages: ["@olimsaidov/icdp"] (Next.js) or the equivalent — importing icdp in a bundler app just works. Verified against a Next.js 16 app: next build succeeds with transpilePackages removed.

Notes

  • No API changes — drop-in for 0.2.x.
  • /host stays small (no chobitsu); only /frame carries the inlined in-page CDP engine.
  • New guide: Use icdp in a bundler app (Next.js, Vite).

Docs: https://olimsaidov.github.io/icdp/