uglify

2018-12-07 admin

uglify是什么

什么是uglify,A simple tool to uglify javascript & css files

uglify使用教程帮助文档

Uglify:

Uglify is a simple tool to uglify javascript & css files

Installing:

 $ npm install -g uglify

Usage:

  $ uglify -h

  Usage: uglify [options]

  Options:

    -h, --help            output usage information
    -V, --version         output the version number
    -s, --source <items>  source files
    -o, --output [value]  output file
    -c, --css             whether uglify css files
    -r, --root [value]    static root directory name, used to replace css urls with absolute path

  Examples:

    $ uglify -s ~/application.js,~/home.js -o ~/home.min.js
    $ uglify -s ~/application.css,~/home.css -o ~/home.min.css -c
    $ uglify -s ~/application.css,~/home.css -o ~/home.min.css -r public -c

License:

MIT

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

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

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

文章标题:uglify

相关文章
Webpack optimize with UglifyJS plugin causes runtime error
duncanhall提出了一个问题:Webpack optimize with UglifyJS plugin causes runtime error,或许与您遇到的问题类似。 回答者duncanhall给出了该问题的处理方式: The ...
2018-04-16
Can uglify-js remove the console.log statements?
Jeffrey提出了一个问题:Can uglify-js remove the console.log statements?,或许与您遇到的问题类似。 回答者Jeffrey给出了该问题的处理方式: In the lastest uglif...
2018-04-14
gulp: uglify and sourcemaps
danwellmanSerge提出了一个问题:gulp: uglify and sourcemaps,或许与您遇到的问题类似。 回答者ddprrt给出了该问题的处理方式: So this is how sourcemaps work in ...
2018-04-14
uglify-stream
uglify-stream是什么 什么是uglify-stream,Transform stream for UglifyJS uglify-stream官网:官网 uglify-stream源码仓库:源码仓库 uglify-stream...
2018-10-16
jstransformer-uglify-js
jstransformer-uglify-js是什么 什么是jstransformer-uglify-js,UglifyJS support for JSTransformers. jstransformer-uglify-js官网:官网...
2018-11-12
rollup-plugin-uglify-es
rollup-plugin-uglify-es是什么 什么是rollup-plugin-uglify-es,Rollup plugin to minify generated bundle rollup-plugin-uglify-es官...
2018-11-24
uglify-loader
uglify-loader是什么 什么是uglify-loader,Uglify.js loader for webpack uglify-loader官网:官网 uglify-loader源码仓库:源码仓库 uglify-loader下...
2018-12-07
回到顶部