Dashboard › publish › publish CommonJS test ESM
01a0895a-0c06-7666-bdaa-81734b7d747fUse CommonJS (require/module.exports) in Sentry Publish source files and ES Modules (import/export) in tests; prefer named CommonJS exports when exposing multiple values. Chose this established split over converting source to ESM because the repository’s Node 24 runtime, entry points, and test mocking conventions depend on it.