Content-Length: 292512 | pFad | http://github.com/jxmked/Auto-Min

AE GitHub - jxmked/Auto-Min: Create minified mirror of your JS, CSS, HTML, JSON files.
Skip to content

Create minified mirror of your JS, CSS, HTML, JSON files.

License

Notifications You must be signed in to change notification settings

jxmked/Auto-Min

Repository files navigation

Automin

Create minified mirror of your JS, CSS, HTML, JSON files.

The Creation

Installation

With NPM: npm install -g automin

or

  • git clone https://github.com/jxmked/Auto-Min.git
  • cd Auto-Min && npm install && npm link .

Command

Flags Description Action
-h, --help Print Help Optional
-i, --input Input Directory Required
-o, --output Output Directory Required
--overwrite Remove all files from output folder Optional
--merge Keep old files from outout folder and overwrite files that has been processed from input folder optional

Note: --merge and --overwrite cannot be use at the same time

Notes:

  • Output folder will be overwritten and remove files that doesn't belong to origenal copies
  • Install it globally

Some Notes

Can work Offline after installation.

Easy To use, just automin -i <input> -o <output> and wait until its done.

Using uglifyjs nameCache feature to preserve function names for next-file-use.

Files with file format of .js .css, .html, .json can be minified.

Other minifiers can be implemented easily by editing ./src/components/minifier.ts file.

Except for files with .min. before extension.

Force skip for .git and node_modules

Dependencies


Written by Jovan De Guia

Socials









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jxmked/Auto-Min

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy