Skip to content

chrisregnier/closure-compiler-maven-plugin

Repository files navigation

closure-compiler-maven-plugin

Maven plugin to run the closure compiler on your javascript code base

Current options:

forceRecompile (boolean)

Forces the code to be recompiled even if things aren't dirty. true or false. can also use property 'closure.forceRecompile'

compilationLevel (string)

"ADVANCED_OPTIMIZATIONS", "SIMPLE_OPTIMIZATIONS", "WHITESPACE_ONLY"

warningLevel (string)

"DEFAULT", "VERBOSE", "QUIET"

prettyPrint (boolean)

true or false

languageIn (string)

"ECMASCRIPT3", "ECMASCRIPT5", "ECMASCRIPT5_STRICT", "ECMASCRIPT6", "ECMASCRIPT6_STRICT", "NO_TRANSPILE"

languageOut (string)

"ECMASCRIPT3", "ECMASCRIPT5", "ECMASCRIPT5_STRICT", "ECMASCRIPT6", "ECMASCRIPT6_STRICT", "NO_TRANSPILE"

outputFile (File)

The output file to write everything to. defaults to: "${project.build.directory}/$project.artifactId}-${project.version}-min.js/

addDefaultExterns (boolean)

defaults to true

failOnWarnings (boolean)

defaults to false

failOnErrors (boolean)

defaults to true

externs (List)

a bunch of files that should be treated as externs

sources (List)

a bunch of files that should be treated as the source

About

Maven plugin to run the closure compiler on your javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published