function inlineResourcesFromString(content, urlResolver) {
  // Curry through the inlining functions.
  return [
    inlineTemplate,
    inlineStyle,
    removeModuleId
  ].reduce((content, fn) => fn(content, urlResolver), content);
}
function inlineResourcesFromString(content, urlResolver) {
  // Curry through the inlining functions.
  return [
    inlineTemplate,
    inlineStyle,
    removeModuleId
  ].reduce((content, fn) => fn(content, urlResolver), content);
}
function inlineResourcesFromString ( content , urlResolver ) { // Curry through the inlining functions. return [ inlineTemplate , inlineStyle , removeModuleId ] . reduce ( ( content , fn ) => fn ( content , urlResolver ) , content ) ; }
Inline resources from a string content.
@param content {string} The source file's content.
@param urlResolver {Function} A resolver that takes a URL and return a path.
@returns {string} The content with resources inlined.
Inline resources from a string content .