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

Add rule to serve *.mjs file like #40

Merged
merged 1 commit into from
Jun 29, 2018
Merged

Add rule to serve *.mjs file like #40

merged 1 commit into from
Jun 29, 2018

Conversation

rexpan
Copy link
Contributor

@rexpan rexpan commented Jun 29, 2018

This PR add rule so IIS can serve the *.mjs files. For exmaple:

<script type="module" src="index.mjs"></script>
<script nomodule src="index.js"></script>

```
<script type="module" src="index.mjs"></script>
<script nomodule src="index.js"></script>
```
@ChrisMcKee
Copy link
Member

Thanks; I note its not actually a standard yet but seeing things are leaning that way its easier to just add it 👍

http://2ality.com/2017/05/es-module-specifiers.html

@ChrisMcKee ChrisMcKee merged commit b87adeb into h5bp:master Jun 29, 2018
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