   ([source opts compiler-env]
      (env/with-compiler-env compiler-env
        (let [compiler-stats (:compiler-stats opts)
-             all-opts (cond-> opts
-                       true add-implicit-options
-                       can-convert-js-module? process-js-modules)]
+             all-opts (-> opts
+                          add-implicit-options
+                          process-js-modules)]
          (check-output-to opts)
          (check-output-dir opts)
          (check-source-map opts)

              Result JSError CheckLevel DiagnosticGroups
              CommandLineRunner AnonymousFunctionNamingPolicy
              JSModule JSModuleGraph SourceMap ProcessCommonJSModules
              ES6ModuleLoader AbstractCompiler]
           [com.google.javascript.rhino Node]
           [java.security MessageDigest]
           [javax.xml.bind DatatypeConverter]

          es6-loader (ES6ModuleLoader. closure-compiler module-root)
          cjs (ProcessCommonJSModules. closure-compiler es6-loader)
          ^Node root (.parse closure-compiler source-file)]
      (compile-if can-convert-amd?
        (.process (TransformAMDToCJSModule. closure-compiler) nil root))
      (.process cjs nil root)
      (.toSource closure-compiler root))))

