String code = JSSourceFile.fromReader("code", input).getCode();
jsInput = JSSourceFile.fromCode("jsInput", code);
compiler.compile(extern, jsInput, options);
output.write(compiler.toSource());
} catch (Exception ex) {
throw new ResourceCompressorException(ex);
}
}