v0.2.2
New features:
- Can now load from the text of the legume-loading script element, simply put the
data-legume-textattribute on the element. Example:
<script src=https://cdn.jsdelivr.net/npm/legume-loader data-legume-text>
/* @legume
* @name script
* @script npm:jquery
*/
console.log(require("jquery")); // returns jQuery
</script>