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>
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>