Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for .mts #112

Merged
merged 2 commits into from
Jan 31, 2023
Merged

feat: add support for .mts #112

merged 2 commits into from
Jan 31, 2023

Conversation

webstrand
Copy link
Contributor

@webstrand webstrand commented Jan 30, 2023

Without these changes, jiti is treating .mts files as non-modules. Probably should add support for .cts, too, but I don't have a test-case for it.

@pi0 pi0 changed the title Add support for .mts feat: add support for .mts Jan 30, 2023
src/jiti.ts Outdated Show resolved Hide resolved
src/jiti.ts Outdated Show resolved Hide resolved
src/jiti.ts Outdated Show resolved Hide resolved
Co-authored-by: pooya parsa <pyapar@gmail.com>
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pi0 pi0 merged commit 94ab3f2 into unjs:main Jan 31, 2023
@pi0
Copy link
Member

pi0 commented Jan 31, 2023

I will release it shortly this week (checking some other minor issue before).

@webstrand webstrand deleted the patch-mts branch November 21, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants