@awsw/minify
v0.5.2
Published
Optimizes awsw projects by minifying HTML, JavaScript, and CSS files for public deployment.
Downloads
3
Readme
@awsw/minify
Optimizes awsw projects by minifying HTML, JavaScript, and CSS files for public deployment.
How to use
Ensure you have @awsw/core
installed and add "minify"
to the Modules
to your aws-website-config.yaml
.
Configurations
- MinifyImages
- Description: Toggles if images should also be minified (jpg, png, webp, gif)
- Type: boolean
- Optional: true
- Default: true
- MinifyHtmlComments
- Description: Toggles if HTML Comments should be omitted
- Type: boolean
- Optional: true
- Default: true