License detector for UglifyJS that identifies and preserves license comments during minification
Overall
score
98%
Build a command-line minification tool that preserves license comments during JavaScript code compression.
Create a Node.js CLI tool that:
The tool should preserve comments that contain license information (such as copyright notices, license types, and legal text) while removing other comments during minification.
@generates
// Command-line interface
// Usage: node minify-cli.js <input-file>Provides JavaScript minification capabilities.
Provides license comment detection and preservation logic.
Install with Tessl CLI
npx tessl i tessl/npm-uglify-save-licensedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10