Just responded to some browser compatibility issues with . Turns out bundling everything in one package creates headaches for Next.js and other browser environments.

For the next minor version, we're breaking things up:

  • @logtape/logtape will be browser-friendly with zero compromises
  • @logtape/file will handle filesystem operations
  • Other specialized features will get their own packages

This should make LogTape work seamlessly across all environments while giving developers better control over what they include.

github.com

Turbopack has trouble with `.cjs` files inside esm build · Issue #27 · dahlia/logtape

turbopack has trouble with .cjs files inside esm build │ Import trace for requested module: │ ../../node_modules/@logtape/logtape/esm/nodeUtil.cjs │ ../../node_modules/@logtape/logtape/esm/nodeUtil...