Skip to content

Add .mjs to known JavaScript file extensions - #25747

Merged
Matt Bierner (mjbvz) merged 1 commit into
microsoft:masterfrom
bmeck:mjs
May 4, 2017
Merged

Matt Bierner (mjbvz) merged 1 commit into
microsoft:masterfrom
bmeck:mjs

Conversation

@bmeck

Copy link
Copy Markdown
Contributor

Also add .es6 in missing places

Also add .es6 in missing places
@mention-bot

Copy link
Copy Markdown

Bradley Farias (@bmeck), thanks for your PR! By analyzing the history of the files in this pull request, we identified Benjamin Pasero (@bpasero) and Erich Gamma (@egamma) to be potential reviewers.

@msftclas

@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

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

Thanks, Microsoft Pull Request Bot

@mjbvz

Copy link
Copy Markdown
Contributor

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

Samuel Tschiedel (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
Samuel Tschiedel (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