java -jar closure-compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --js script.js
当我使用--process_jquery_primitives: The jQuery pass and the Closure pass cannot both be enabled.at com.google.javascript.jscomp.Compiler.runInCompilerT
我正在尝试用我的脚本的其余部分使jQuery被Googleclosure正确编译。--process_jquery_primitivescom.google.javascript.jscomp.CompilerOptionsPreprocessor$InvalidOptionsException: The jQuery pass and the Closure
我正在尝试让GoogleClosureCompiler来编译我的javascript代码,它使用了Jquery,但是我一直在获取变量$ is uses,有没有办法让它看到$ variable。有没有办法让closureCompiler看到Jquery库而不是编译它。这是我的ant脚本<project basedir="." d