JSPM

ui5-task-minifier

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 380
  • Score
    100M100P100Q103047F
  • License MIT

Task for ui5-builder which enables minifying HTML/CSS/JSON files.

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 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