Liking cljdoc? Tell your friends :D
Clojure only.

figwheel-sidecar.config


->config-dataclj

(->config-data config-source)
source

->config-sourceclj

(->config-source config-options)
source

->figwheel-config-sourceclj

(->figwheel-config-source)
(->figwheel-config-source data)
(->figwheel-config-source data file)
source

->figwheel-internal-config-sourceclj

(->figwheel-internal-config-source data)
(->figwheel-internal-config-source data file)
source

->lein-project-config-sourceclj

(->lein-project-config-source)
(->lein-project-config-source project-data)
source

_figwheel-version_clj

source

adjust-to-internal-configuration-representationclj

(adjust-to-internal-configuration-representation figwheel-internal-config)
source

apply-to-keyclj

(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.
sourceraw docstring

check-configclj

(check-config figwheel-options builds & {:keys [print-warning]})
source

check-for-valid-optionsclj

(check-for-valid-options {:keys [http-server-root] :as opts}
                         print-warning
                         build')

Check for various configuration anomalies.

Check for various configuration anomalies.
sourceraw docstring

config-data->figwheel-internal-config-dataclj

(config-data->figwheel-internal-config-data {:keys [file type data]
                                             :as config-data})
source

config-data->prepped-figwheel-internalclj

source

config-data?clj

(config-data? x)
source

config-source->prepped-figwheel-internalclj

(config-source->prepped-figwheel-internal config-source)
source

config-source?clj

(config-source? x)
source

ConfigDatacljprotocol

-validateclj

(-validate _)

all-buildsclj

(all-builds _)

build-idsclj

(build-ids _)

figwheel-optionsclj

(figwheel-options _)
source

ConfigSourcecljprotocol

-config-dataclj

(-config-data _)
source

default-optimizations-to-noneclj

(default-optimizations-to-none build-options)
source

default-source-map-timestampclj

(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.
sourceraw docstring

detect-convert->config-sourceclj

(detect-convert->config-source data)
source

ensure-idclj

(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.
sourceraw docstring

ensure-output-dirs!clj

(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.
sourceraw docstring

fetch-configclj

source

fetch-figwheel-configclj

(fetch-figwheel-config)
source

figwheel-build?clj

(figwheel-build? build)
source

figwheel-edn-exists?clj

(figwheel-edn-exists?)
source

figwheel-internal-config-data?clj

(figwheel-internal-config-data? x)
source

file-change-waitclj

(file-change-wait file timeout)
source

fill-websocket-url-templateclj

(fill-websocket-url-template server-port url)
source

fix-build-optionsclj

(fix-build-options build-options)
source

forward-devcard-optionclj

(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
sourceraw docstring

forward-to-figwheel-build-idclj

(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 
sourceraw docstring

friendly-assertcljmacro

(friendly-assert v message)
source

get-build-optionsclj

(get-build-options build)
source

get-choiceclj

(get-choice choices)
source

get-project-buildsclj

(get-project-builds)
source

get-project-configclj

source

in-rebel-readline-terminal?clj

(in-rebel-readline-terminal?)
source

initial-config-sourceclj

(initial-config-source)
(initial-config-source project)
source

interactive-validateclj

(interactive-validate config-data options)
source

lein-project-specclj

(lein-project-spec project)
source

limit-builds-to-build-idsclj

(limit-builds-to-build-ids {:keys [figwheel-options all-builds build-ids]
                            :as figwheel-internal})
source

map-to-vec-buildsclj

(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.
sourceraw docstring

merge-profiles?clj

(merge-profiles? project {:keys [simple-merge-works profile-merging]})
source

mkdirsclj

(mkdirs fpath)
source

move-compiler-to-build-optionsclj

(move-compiler-to-build-options build)
source

narrow-builds*clj

(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.
sourceraw docstring

needs-to-merge-profiles?clj

(needs-to-merge-profiles? project)
source

normalize-dirclj

(normalize-dir dir)

If directory ends with '/' then truncate the trailing forward slash.

If directory ends with '/' then truncate the trailing forward slash.
sourceraw docstring

on-stamp-changeclj

(on-stamp-change {:keys [file signature]} f)
source

opt-none?clj

(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
sourceraw docstring

optimizations-none?clj

source

populate-build-idsclj

(populate-build-ids figwheel-internal-data)
(populate-build-ids figwheel-internal-data build-ids)
source

prep-buildclj

(prep-build build)
source

prep-build-if-not-preppedclj

(prep-build-if-not-prepped build)
source

prep-buildsclj

(prep-builds figwheel-internal-data)
source

prep-builds*clj

(prep-builds* builds)
source

prepped-figwheel-internalclj

source

prepped?clj

(prepped? build)
source

(print-validate-config-data config-data)
source

project-with-merged-profilesclj

(project-with-merged-profiles)
(project-with-merged-profiles {:keys [active-profiles] :as config-data})
source

propagate-source-paths-to-compile-and-watch-pathsclj

(propagate-source-paths-to-compile-and-watch-paths {:keys [source-paths]
                                                    :as build})
source

raise-one-errorclj

(raise-one-error spec {:keys [data file type] :as config-data})
source

read-edn-fileclj

(read-edn-file file-name)
source

report-if-bad-build-idclj

(report-if-bad-build-id known-build-ids build-id)
source

report-if-bad-build-idsclj

(report-if-bad-build-ids known-build-ids build-ids)
source

sane-output-to-dirclj

(sane-output-to-dir {:keys [output-to output-dir] :as options})
source

suggest-likeclj

(suggest-like thing things)
source

suggestionclj

(suggestion thing things)
source

system-assertsclj

(system-asserts)
source

system-exit-assertcljmacro

(system-exit-assert v msg)
source

update-figwheel-connect-optionsclj

(update-figwheel-connect-options {:keys [server-port]} build)
source

use-color-defaultclj

(use-color-default)
source

use-color?clj

(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
sourceraw docstring

validate-config-dataclj

(validate-config-data config-data)
source

validate-config-data?clj

(validate-config-data? config-data)
source

validate-config-levelclj

(validate-config-level config-data)
source

validate-figwheel-config-dataclj

(validate-figwheel-config-data config-data)
source

validate-figwheel-edn-config-dataclj

(validate-figwheel-edn-config-data config-data)
source

validate-lein-project-loopclj

(validate-lein-project-loop project-config-data options)
source

validate-loopclj

(validate-loop lazy-config-data-list)
(validate-loop lazy-config-data-list opts)
source

validate-loop-behaviorclj

(validate-loop-behavior config-data)
source

validate-loop-command?clj

(validate-loop-command? x)
source

validate-project-config-dataclj

(validate-project-config-data {:keys [data] :as config-data})
source

websocket-host->strclj

(websocket-host->str host)
source

WINDOWS-ENV-DATAclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close