(defn
base-plugins
[system-options]
(let
[base
{:enforce-project-plugin enforce-project-plugin,
:enforce-figwheel-version-plugin enforce-figwheel-version-plugin,
:file-reloader-plugin file-reloader-plugin,
:comp-fail-warning-plugin compile-fail-warning-plugin,
:css-reloader-plugin css-reloader-plugin,
:repl-plugin repl-plugin}
base
(if
(not (utils/html-env?))
(select-keys
base
[:file-reloader-plugin :comp-fail-warning-plugin :repl-plugin])
base)
base
(if
(false? (:autoload system-options))
(dissoc base :file-reloader-plugin)
base)]
(if
(and (:heads-up-display system-options) (utils/html-env?))
(assoc base :heads-up-display-plugin heads-up-plugin)
base)))