You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update package.json and tsup.config.ts for CJS and ESM compatibility
- Changed the main entry point in package.json from index.js to index.cjs and updated types from index.d.ts to index.d.cts for better compatibility with CommonJS and ES modules.
- Modified tsup.config.ts to reflect the new file extensions for output, ensuring correct handling of CJS and ESM formats.
- Enhanced config.ts and logger.ts to utilize a unified require function that works in both ESM and CJS environments, improving module loading consistency.
0 commit comments