public void writeDefinitions(Set<DefDescriptor<?>> dependencies, Writer out)
throws IOException, QuickFixException {
AuraContext context = Aura.getContextService().getCurrentContext();
Mode mode = context.getMode();
final boolean minify = !mode.prettyPrint();
final String mKey = minify ? "MIN:" : "DEV:";
//
// create a temp buffer in case anything bad happens while we're processing this.
// don't want to end up with a half a JS init function
//