Добавил в phpstorm closure-compiler. Настройки как предложило, так и оставил
--compilation_level SIMPLE_OPTIMIZATIONS --js $FileName$
Только указал папку со скриптами и скачанный closure-compiler.jar
Получаю
spoilerjava.util.MissingResourceException: Can't find bundle for base name com.google.javascript.rhino.Messages, locale ru_RU
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:845)
at com.google.javascript.rhino.SimpleErrorReporter.getMessage(SimpleErrorReporter.java:111)
at com.google.javascript.rhino.SimpleErrorReporter.getMessage0(SimpleErrorReporter.java:98)
at com.google.javascript.jscomp.RhinoErrorReporter.<init>(RhinoErrorReporter.java:141)
at com.google.javascript.jscomp.RhinoErrorReporter.<init>(RhinoErrorReporter.java:30)
at com.google.javascript.jscomp.RhinoErrorReporter$OldRhinoErrorReporter.<init>(RhinoErrorReporter.java:233)
at com.google.javascript.jscomp.RhinoErrorReporter$OldRhinoErrorReporter.<init>(RhinoErrorReporter.java:229)
at com.google.javascript.jscomp.RhinoErrorReporter.forOldRhino(RhinoErrorReporter.java:190)
at com.google.javascript.jscomp.Compiler.<init>(Compiler.java:244)
at com.google.javascript.jscomp.CommandLineRunner.createCompiler(CommandLineRunner.java:1963)
at com.google.javascript.jscomp.AbstractCommandLineRunner.doRun(AbstractCommandLineRunner.java:1100)
at com.google.javascript.jscomp.AbstractCommandLineRunner.run(AbstractCommandLineRunner.java:545)
at com.google.javascript.jscomp.CommandLineRunner.main(CommandLineRunner.java:2174)
Process finished with exit code -2
Как понять из-за чего?