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

Recongize ES modules as JavaScript #294

Merged
merged 1 commit into from Jan 22, 2019

Conversation

Projects
None yet
2 participants
@maxnordlund
Copy link
Contributor

maxnordlund commented Jan 21, 2019

Node now supports ES modules natively using the .mjs extension.

I noticed this when running tokei on a repo written almost exclusively using ES modules and got way too few JS files.

Recongize ES modules as JavaScript
Node now supports ES modules natively using the .mjs extension.

https://nodejs.org/api/esm.html
@Aaronepower

This comment has been minimized.

Copy link
Owner

Aaronepower commented Jan 22, 2019

Thank you for your pull request, and congrats on your first contribution!

@Aaronepower Aaronepower merged commit 28661e0 into Aaronepower:master Jan 22, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@maxnordlund maxnordlund deleted the maxnordlund:patch-1 branch Jan 22, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment