javascript icon indicating copy to clipboard operation
javascript copied to clipboard

feat(clerk-js): Add bundleless ESM build

Open dstaley opened this issue 9 months ago • 9 comments

Description

(This PR is technically a draft; the pr.pkg.new workflow doesn't run on draft PRs.)

This experimental PR adds support for building a "bundleless" version of clerk-js, specifically the ESM build. More details to come if this experiment proves successful!

Checklist

  • [ ] pnpm test runs as expected.
  • [ ] pnpm build runs as expected.
  • [ ] (If applicable) JSDoc comments have been added or updated for any package exports
  • [ ] (If applicable) Documentation has been updated

Type of change

  • [ ] 🐛 Bug fix
  • [ ] 🌟 New feature
  • [ ] 🔨 Breaking change
  • [ ] 📖 Refactoring / dependency upgrade / documentation
  • [ ] other:

Summary by CodeRabbit

  • Chores
    • Updated build configuration and dependencies to improve bundling and support for React and SVG assets.
    • Introduced a new build system configuration for ES module output targeting web environments.
    • Removed an outdated module build configuration to streamline the build process.
    • Improved documentation formatting by removing an extraneous blank line.

dstaley avatar May 19 '25 20:05 dstaley