2.0.0 • Published 11 months ago

ui5-task-minifier v2.0.0

Weekly downloads
40
License
MIT
Repository
github
Last release
11 months ago

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 to true
  • html: true|false - Should minify HTML files? By default set to true
  • json: true|false - Should minify JSON files? By default set to true
builder:
  customTasks:
  - name: ui5-task-minifier
    afterTask: minify
    configuration:
      html: true
      css: true
      json: false

Author

Mauricio Lauffer

License

MIT