Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Who imported me?
<script src="node_modules/steal/steal.js"></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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment