Package | Description |
---|---|
org.broadleafcommerce.common.resource.service |
Modifier and Type | Class and Description |
---|---|
class |
GoogleClosureJavascriptMinificationServiceImpl
Javascript minification service implemented using the Google Closure Compiler
This will be used for minification if the Google Closure Compiler dependency is included in the project
This library also supports extra aggressive minification, transpiling, code optimizing, and bundleing
minify.closure.compiler.languageIn - Sets ECMAScript version to use for the input.
Options: ECMASCRIPT3, ECMASCRIPT5, ECMASCRIPT5_STRICT, ECMASCRIPT6_TYPED (experimental), ECMASCRIPT_2015, ECMASCRIPT_2016, ECMASCRIPT_2017, ECMASCRIPT_NEXT Default: ECMASCRIPT5 minify.closure.compiler.languageOut - Sets ECMAScript version to use for the output. Options: ECMASCRIPT3, ECMASCRIPT5, ECMASCRIPT5_STRICT, ECMASCRIPT6_TYPED (experimental), ECMASCRIPT_2015, ECMASCRIPT_2016, ECMASCRIPT_2017, ECMASCRIPT_NEXT, NO_TRANSPILE Default: NO_TRANSPILE minify.closure.compiler.warningLevel - Warnings level. |
class |
YUIJavascriptMinificationServiceImpl
Javascript minification service implemented using the YUICompressor library
This will be used for minification if the Google Closure Compiler dependency is not included in the project
Properties used by YUICompressor for JS minification
minify.linebreak - if set to a value other than -1, will enforce a linebreak at that value
Default: -1 minify.munge - if true, will replace variable names with shorter versions Default: true minify.verbose - if true, will display extra logging information to the console Default: false minify.preserveAllSemiColons - if true, will never remove semi-colons, even if two in a row exist Default: true minify.disableOptimizations - if true, will disable some micro-optimizations that are performed Default: false |
Modifier and Type | Field and Description |
---|---|
protected JavascriptMinificationService |
ResourceMinificationServiceImpl.jsMinificationService |
Copyright © 2019. All rights reserved.