ClojureScriptCompileOptions

Properties

Not all ClojureScript compiler options are supported yet. Open an issue or submit a PR if there’s one you’d like added.
Property Type Description

baseOutputDirectory

DirectoryProperty

Base directory that outputDir, outputTo and sourceMap will resolve against

assetPath

Property<String>

checkedArrays

Property<String>

externs

ListProperty<String>

foreignLibs

NamedDomainObjectContainer<ForeignLib>

installDeps

Property<Boolean>

main

Property<String>

modules

NamedDomainObjectContainer<Module>

npmDeps

MapProperty<String, String>

optimizations

Property<String>

outputTo

Property<String>

Resolves relative to baseOutputDirectory

outputDir

Property<String>

Resolves relative to baseOutputDirectory

preloads

ListProperty<String>

prettyPrint

Property<Boolean>

sourceMap

Property<Object>

Can be a boolean or a String. If a String, resolves relative to baseOutputDirectory

stablePaths

Property<Boolean>

target

Property<String>

verbose

Property<Boolean>

ForeignLib Properties

Property Type Description

name

Property<String>

file

Property<String>

fileMin

Property<String>

provides

ListProperty<String>

requires

ListProperty<String>

moduleType

Property<String>

preprocess

Property<String>

globalExports

MapProperty<String>

Module Properties

Property Type Description

baseOutputDirectory

DirectoryProperty

Base directory that outputTo will resolve against (same as the build’s by default)

outputTo

Property<String>

Resolves relative to baseOutputDirectory

entries

SetProperty<String>

dependsOn

SetProperty<String>

Methods

None

Example