W3C Introduction to Web Components - explainer/overview of the technologies
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 src="node_modules/steal/steal.js"></script> | |
<script> | |
var oldNormalize = System.normalize; | |
System.normalize = function(name, parentName){ | |
return oldNormalize.apply(this, arguments).then(function(name){ | |
if(name === "my/module") { | |
console.log(name, "is imported by", parentName); | |
} | |
return name; | |
}); |