1.3.6 • Published 10 months ago

minify-web v1.3.6

Weekly downloads
-
License
MIT
Repository
-
Last release
10 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

10 months ago

1.3.6

10 months ago

1.3.5

10 months ago

1.3.4

10 months ago

1.1.6

10 months ago

1.3.3

10 months ago

1.3.2

10 months ago

1.3.1

10 months ago

1.2.2

10 months ago

1.3.0

10 months ago

1.2.1

10 months ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago