swc-minify

Crates.ioswc-minify
lib.rsswc-minify
version0.1.1
sourcesrc
created_at2024-02-17 17:36:00.854392
updated_at2024-02-17 17:50:06.601666
descriptionSimple binary wrapper around SWC to minify JS files. No custom config supported yet - just specify input file and it's done.
homepage
repositoryhttps://github.com/SergeiMinaev/swc-minify
max_upload_size
id1143357
size67,311
SergeiMinaev (SergeiMinaev)

documentation

README

swc-minify

Simple binary wrapper around SWC to minify JS files. No custom config supported yet - just specify input file and it's done.

Motivation

I created this wrapper mostly because swc minify from swc_cli crate says "Minify command is not yet implemented".

Install

cargo install swc-minify

Usage

swc-minify main.js > main.min.js

Notes

Compress and mangle options are used.

Commit count: 0

cargo fmt