1.3.6 • Published 4 months ago

minify-web v1.3.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

minify-web

Compress all html, js, and css files in the entire folder, and output other files to the specified directory without processing

Language

中文

Installation

npm install minify-web -g
# or
yarn global add minify-web

Usage

The src directory is compressed by default, and directory dist is entered

minify-web

Options

-D, --dir

Package directory

-O, --out

Output directory

-H, --help

Show help

Example

the src directory is compressed and placed in the dist directory

minify-web

the app directory is compressed and placed in the out directory

minify-web -D app -O out

Used in the project

  1. Create the package.json file in the project root directory and add the following
{
  // ...
  "scripts": {
    "minify": "minify-web"
  }
  // ...
}
  1. run npm run minify in the project root
1.2.0

5 months ago

1.3.6

4 months ago

1.3.5

4 months ago

1.3.4

4 months ago

1.1.6

5 months ago

1.3.3

4 months ago

1.3.2

4 months ago

1.3.1

4 months ago

1.2.2

5 months ago

1.3.0

4 months ago

1.2.1

5 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago