pdfme icon indicating copy to clipboard operation
pdfme copied to clipboard

[WIP] Convert all packages to ESM-only distribution

Open hand-dot opened this issue 6 months ago • 1 comments

BREAKING CHANGE: Remove CommonJS support from all packages

  • Add "type": "module" to all package.json files
  • Remove CommonJS build outputs and configurations
  • Update all imports to use explicit .js extensions
  • Simplify build process to single ESM output
  • Remove babel-loader, ts-loader, and npm-run-all dependencies
  • Update TypeScript configurations for ESM-only builds
  • Fix ESM compatibility issues with external dependencies

This change aligns the project with modern JavaScript standards and significantly simplifies the build and distribution process.

Migration Guide:

  • All packages must now be imported using ESM syntax
  • Node.js projects must use "type": "module" or .mjs extensions
  • CommonJS require() is no longer supported

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]

hand-dot avatar Jul 16 '25 06:07 hand-dot

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
pdfme-playground ⬜️ Ignored (Inspect) Visit Preview Jul 17, 2025 0:55am

vercel[bot] avatar Jul 16 '25 06:07 vercel[bot]