Crates.io | swc-minify |
lib.rs | swc-minify |
version | 0.1.1 |
source | src |
created_at | 2024-02-17 17:36:00.854392 |
updated_at | 2024-02-17 17:50:06.601666 |
description | Simple binary wrapper around SWC to minify JS files. No custom config supported yet - just specify input file and it's done. |
homepage | |
repository | https://github.com/SergeiMinaev/swc-minify |
max_upload_size | |
id | 1143357 |
size | 67,311 |
Simple binary wrapper around SWC to minify JS files. No custom config supported yet - just specify input file and it's done.
I created this wrapper mostly because swc minify
from swc_cli
crate says "Minify command is not yet implemented".
cargo install swc-minify
swc-minify main.js > main.min.js
Compress and mangle options are used.