Package Exports
- ui5-task-minifier
- ui5-task-minifier/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ui5-task-minifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ui5-task-minifier
Task for ui5-builder which enables minifying HTML/CSS/JSON files. These files are not minified by ui5-builder therefore you need a custom task for it.
Install
npm install ui5-task-minifier --save-dev
Configuration options (in $yourapp/ui5.yaml
)
- css:
true
|false
- Should minify CSS files? By default set totrue
- html:
true
|false
- Should minify HTML files? By default set totrue
- json:
true
|false
- Should minify JSON files? By default set totrue
builder:
customTasks:
- name: ui5-task-minifier
afterTask: minify
configuration:
html: true
css: true
json: false
Author
Mauricio Lauffer