问题
I'm trying to use 'text/ecmascript-6' or 'text/babel' as the type when having requirejs load the Javascript files using script tags. How can I do that?
For example
<script type="text/babel" src="somefile.js"></script>
来源:https://stackoverflow.com/questions/28731256/change-script-tag-type-to-text-ecmascript-6-or-text-babel-when-loading-modul