Interface | Description |
---|---|
CssMinificationService |
Service that's used to minify CSS
|
JavascriptMinificationService |
Service that's used to minify Javascript
|
ResourceBundlingService |
This service is responsible for interaction with
ResourceBundleProcessor and
ResourcePreloadProcessor to generate bundles for static resources. |
ResourceMinificationService |
Service responsible for interacting with YUI-compressor or Google Closure Compiler to minify JS/CSS resources.
|
Class | Description |
---|---|
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. |
ResourceBundlingServiceImpl | |
ResourceMinificationServiceImpl | |
YUICssMinificationServiceImpl |
CSS minification service implemented using the YUICompressor library
|
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 |
Exception | Description |
---|---|
ResourceMinificationException |
Copyright © 2019. All rights reserved.