terser-dir

1.0.9 • Public • Published

terser-dir

Terser

Command to run terser on a folder and minify the result in a single file or a new folder.

Getting Started

Install the module with: npm i terser-dir

Documentation

Usage

terser-dir path [options]
--output  Specify a file/folder to write the minified code
--help    Print this list and exit.

Examples

$ terser-dir src/js --output bundle/
$ terser-dir src/js --output bundle/all.min.js

Package Sidebar

Install

npm i terser-dir

Weekly Downloads

8

Version

1.0.9

License

MIT

Unpacked Size

6.87 kB

Total Files

7

Last publish

Collaborators

  • danielhaim