thrownewError(`Referenced file '${sourceFile}' not resolved. This should never happen; please file a bug!`);
}
letsourceFile=allExports.get(resolvedSourcePath);
if(sourceFile==null){
thrownewError(`Referenced file '${sourceFile}' not processed. This should never happen; please file a bug!`);
}
letmangledName=sourceFile.get(remoteKey);
if(mangledName==null){
// TODO: Error type
thrownewError(`No export named '${remoteKey}' found in file ${url}`);
}
/* The replacement is to deal with the difference in multiple-class notation between CSS and HTML; in CSS they are dot-delimited, but in HTML (which the ICSS spec targets) they are space-delimited. We need the CSS notation here. */