uglify-inplace

2019-06-12 admin

uglify-inplace是什么

什么是uglify-inplace,runs uglify on the input file and replaces it with the compressed version

uglify-inplace使用教程帮助文档

uglify-inplace

Supply a list of files and they will be uglified in-place. This uses uglify - if you have ES6 code, use babili-inplace instead.

Install

npm install -g uglify-inplace

Usage

Supply a list of files and they will be uglified. For example, the following will overwrite index.js with a minified version.

uglify-inplace index.js

You can also use wildcards. It will only minify Javascript files ending in .js and ignore other files. For example, to uglify all javascipt files in the current directory:

uglify-inplace ./*

Credits

Geza Kovacs

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-67123.html

文章标题:uglify-inplace

回到顶部