String aliasData = AliasingSerializer.createJson(bundleSet);
return new CharResponseContent( brjs, "define('$alias-data', function(require, exports, module) {\n\tmodule.exports = " + aliasData + ";\n});\n" );
}
}
else {
throw new ContentProcessingException("unknown request form '" + contentPath.formName + "'.");
}
}
catch (RequirePathException e) {
// do nothing: if 'br/AliasRegistry' doesn't exist then we definitely need to configure it
}