Currently convex components support only the .js and .d.ts extensions. To support standard extensions for esm and cjs, convex should check if a convex.config does exists with .cts,.mts and .d.cts,.d.mts. This is the place that needs the change - https://github.com/get-convex/convex-backend/blob/13a9716d33ea5b3b92893368d07d538fecc025ee/npm-packages/convex/src/cli/lib/components/definition/bundle.ts#L56 - https://github.com/get-convex/convex-backend/blob/13a9716d33ea5b3b92893368d07d538fecc025ee/npm-packages/dashboard-common/scripts/build-convexServerTypes.py#L42 if im correct <!-- Thanks for checking out Convex. For help using Convex, check out our [Community Discord](https://convex.dev/community). -->