-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Milestone
Description
Describe the feature
The current default supportet file extensions by the swc-cli are:
["js", "jsx", "es6", "es", "mjs", "ts", "tsx"]
I would love having support for .mts and .cts files which work like .ts or .tsx files
.mts => .mjs
.cts => .cjs
just like with tsx and jsx
.tsx => .jsx
it would work just like ts files but with an other extension (or optional even change the module settings)
Babel plugin or link to the feature description
No response
Additional context
Reactions are currently unavailable