Created
December 19, 2018 19:53
-
-
Save usergenic/660736eea4bda3b2efeb3c6c2627a6e6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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=module-file.js></script> |
This file contains hidden or 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
export const Potato = '🥔'; | |
console.alert(Potato); |
This file contains hidden or 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
$ polymer-bundler html-file.html --inline-scripts | |
<script type="module" src="module-file.js"></script> |
This file contains hidden or 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
$ polymer-bundler html-file.html --inline-scripts | |
<script type="module"> | |
const Potato = '🥔'; | |
console.alert(Potato); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment