Skip to content

Add .mjs to known JavaScript file extensions#25747

Merged
mjbvz merged 1 commit intomicrosoft:masterfrom
bmeck:mjs
May 4, 2017
Merged

Add .mjs to known JavaScript file extensions#25747
mjbvz merged 1 commit intomicrosoft:masterfrom
bmeck:mjs

Conversation

@bmeck
Copy link
Contributor

@bmeck bmeck commented May 1, 2017

Also add .es6 in missing places

Also add .es6 in missing places
@mention-bot
Copy link

@bmeck, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bpasero and @egamma to be potential reviewers.

@msftclas
Copy link

msftclas commented May 1, 2017

@bmeck,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.

It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@msftclas
Copy link

msftclas commented May 1, 2017

@bmeck, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, Microsoft Pull Request Bot

@kieferrm kieferrm requested a review from mjbvz May 1, 2017 23:28
@mjbvz mjbvz added this to the May 2017 milestone May 4, 2017
@mjbvz mjbvz merged commit d6c61a0 into microsoft:master May 4, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented May 4, 2017

Thanks! This change should be in the next VSCode insiders build

aisamu added a commit to aisamu/ring that referenced this pull request Aug 8, 2018
Javascript's module system has a suggested `mjs` extension, which has received
some degree of adoption (Node [1]), tooling support (Babel [2], VSCode [3]), and
is already present on Google's JS Modules documentation [4].

The only requirement is that they're sent with JS's MIME.

[1] - http://2ality.com/2017/05/es-module-specifiers.html#why-new-extension
[2] - babel/babel#5624
[3] - microsoft/vscode#25747
[4] - https://developers.google.com/web/fundamentals/primers/modules
aisamu added a commit to aisamu/ring that referenced this pull request Aug 19, 2018
Javascript's module system has a suggested mjs extension, which has
received some degree of adoption (Node [1]), tooling support (Babel [2],
VSCode [3]), and is already present on Google's JS Modules documentation
[4].

The only requirement is that they're sent with JS's MIME.

[1] -
http://2ality.com/2017/05/es-module-specifiers.html#why-new-extension
[2] - babel/babel#5624
[3] - microsoft/vscode#25747
[4] - https://developers.google.com/web/fundamentals/primers/modules
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants