File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1122,3 +1122,20 @@ Is a function that will be called after a successful build.
11221122----
11231123:watch-fn (fn [] (println "Updated build"))
11241124----
1125+
1126+ [[warning-handlers]]
1127+ === :warning-handlers
1128+
1129+ Set a vector of handlers to customize handling of emitted warnings.
1130+ A handler should be either a symbol (to be resolved as a function) or a function.
1131+ The signature of each function is `[warn-type env warn-info]`.
1132+ `warn-type` is a keyword describing the <<#warnings,warning>>,
1133+ `env` is the analysis environment,
1134+ and `warn-info` is a map of extra useful information for a particular warning type.
1135+
1136+ Defaults to:
1137+
1138+ [source,clojure]
1139+ ----
1140+ :warning-handlers [cljs.analyzer/default-warning-handler]
1141+ ----
You can’t perform that action at this time.
0 commit comments