startautomating/PSMinifier
A Miniature Minifier For PowerShell
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| Include | One or more wildcards of files to include. If not provided, all .ps1 in a workspace will be included. | no | — |
| Exclude | One or more wildcards of files to exclude. | no | "*.*.ps1" |
| GZip | If set, the minified content will be encoded as GZip, further reducing it's size. | no | — |
| NoBlock | If set, zipped minified content will be encoded without blocks, making it a very long single line. This parameter is only valid with -GZip. | no | — |
| CommitMessage | If provided, will commit changes made to the workspace with this commit message. | no | — |
| UserEmail | The user email associated with a git commit. | no | — |
| UserName | The user name associated with a git commit. | no | — |
Outputs
| name | description |
|---|---|
| OriginalSize | The Original Size of all files |
| MinifiedSize | The Total Size of all minified files |
| MinifiedPercent | The Percentage Saved by minifying |