chore(backend): Use tsup to bundle the package for both cjs and esm#1314
chore(backend): Use tsup to bundle the package for both cjs and esm#1314anagstef wants to merge 5 commits into
Conversation
|
31cbaa9 to
2a6e923
Compare
…ways treated as CJS
…kage.esm.json
The ESM spec states that file imports within modules need to include the file extension, eg `import {} from './utils.js`, otherwise the module won't be correctly resolved.
We will add the types back in when we make the necessary adjustments to our build tooling.
|
This is blocked as we're currently coordinating with the Vercel team in order to resolve all issues related to In the meantime, I'll try to cherry pick anything that can be merged right away. |
|
Closing in favor of #1393 |
Type of change
Packages affected
@clerk/clerk-js@clerk/clerk-react@clerk/nextjs@clerk/remix@clerk/types@clerk/themes@clerk/localizations@clerk/clerk-expo@clerk/backend@clerk/clerk-sdk-node@clerk/shared@clerk/fastify@clerk/chrome-extensiongatsby-plugin-clerkbuild/tooling/choreDescription
npm testruns as expected.npm run buildruns as expected.