This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
express.static.mime.define({'application/javascript': ['js']}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- executed third --> | |
<script type="module"> | |
console.log("Inline module!"); | |
</script> | |
<!-- executed first --> | |
<script src="main.js"></script> | |
<!-- executed second --> | |
<script defer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="module" src="./main.js"></script> | |
<script type="module"> | |
import {log} from './main.js'; | |
log('Inline module!'); | |
</script> |