Skip to content

Commit ac26aa5

Browse files
committed
* :pretty-print defaults to false, not true
* clarify :main
1 parent e663691 commit ac26aa5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

content/reference/compiler-options.adoc

+11-1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,16 @@ JavaScript file that will import **goog/base.js**, the JavaScript file
158158
for the namespace, and emit the required `goog.require` statement. This
159159
permits leaving HTML markup identical between dev and production.
160160

161+
Normally provided as a symbol. In an EDN config file you do not need to quote
162+
the symbol.
163+
164+
[source,clojure]
165+
----
166+
:main foo.bar
167+
----
168+
169+
`:main` can also be provided as a string, but the former is preferred.
170+
161171
[source,clojure]
162172
----
163173
:main "foo.bar"
@@ -336,7 +346,7 @@ preloads to work.
336346
=== :pretty-print
337347

338348
Determines whether the JavaScript output will be tabulated in a
339-
human-readable manner. Defaults to true.
349+
human-readable manner. Defaults to `false`.
340350

341351
[source,clojure]
342352
----

0 commit comments

Comments
 (0)