(->figwheel-config-source)
(->figwheel-config-source data)
(->figwheel-config-source data file)
(->figwheel-internal-config-source data)
(->figwheel-internal-config-source data file)
(->lein-project-config-source)
(->lein-project-config-source project-data)
(adjust-to-internal-configuration-representation figwheel-internal-config)
(apply-to-key f k opts)
applies a function to a key, if key is defined.
applies a function to a key, if key is defined.
(check-for-valid-options {:keys [http-server-root] :as opts}
print-warning
build')
Check for various configuration anomalies.
Check for various configuration anomalies.
(config-data->figwheel-internal-config-data {:keys [file type data]
:as config-data})
(config-source->prepped-figwheel-internal config-source)
(-validate _)
(all-builds _)
(build-ids _)
(figwheel-options _)
(default-source-map-timestamp {:keys [figwheel] :as build})
If we are in a figwheel build, default :build-options :source-map-timestamp to true, unless it's explicitly set to false.
If we are in a figwheel build, default :build-options :source-map-timestamp to true, unless it's explicitly set to false.
(ensure-id opts)
Converts given build :id to a string and if no :id exists generate and id.
Converts given build :id to a string and if no :id exists generate and id.
(ensure-output-dirs! build)
Given a build config ensures the existence of the output directories.
Given a build config ensures the existence of the output directories.
(forward-devcard-option {:keys [figwheel] :as build})
Given a build-config has a [:figwheel :devcards] config it make sure that the :build-options has :devcards set to true
Given a build-config has a [:figwheel :devcards] config it make sure that the :build-options has :devcards set to true
(forward-to-figwheel-build-id {:keys [id figwheel] :as build})
Given a build config that has a :figwheel config in it
Given a build config that has a :figwheel config in it
(limit-builds-to-build-ids {:keys [figwheel-options all-builds build-ids]
:as figwheel-internal})
(map-to-vec-builds builds)
Cljsbuild allows a builds to be specified as maps. We acommodate that with this function to normalize the map back to the standard vector specification. The key is placed into the build under the :id key.
Cljsbuild allows a builds to be specified as maps. We acommodate that with this function to normalize the map back to the standard vector specification. The key is placed into the build under the :id key.
(narrow-builds* builds build-ids)
Filters builds to the chosen build-ids or if no build-ids specified returns the first build with optimizations set to none.
Filters builds to the chosen build-ids or if no build-ids specified returns the first build with optimizations set to none.
(normalize-dir dir)
If directory ends with '/' then truncate the trailing forward slash.
If directory ends with '/' then truncate the trailing forward slash.
(opt-none? {:keys [optimizations]})
Given a map of compiler options returns true if a build will be compiled in :optimizations :none mode
Given a map of compiler options returns true if a build will be compiled in :optimizations :none mode
(populate-build-ids figwheel-internal-data)
(populate-build-ids figwheel-internal-data build-ids)
(project-with-merged-profiles)
(project-with-merged-profiles {:keys [active-profiles] :as config-data})
(propagate-source-paths-to-compile-and-watch-paths {:keys [source-paths]
:as build})
(update-figwheel-connect-options {:keys [server-port]} build)
(use-color? fig-opts)
Takes figwheel options and looks for a :ansi-color-output key
Takes figwheel options and looks for a :ansi-color-output key
(validate-loop lazy-config-data-list)
(validate-loop lazy-config-data-list opts)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close