资 源 简 介
Min.js
JavaScript minification and optimization tool.
Directory struct
min.js/ | +- build/ | | | +- min.js - min.js | +- conf - configuration file | +- opendos.bat - Open DOS window | | | +- google/ - Google closure-compiler dir | +- yahoo/ - Yahoo YUI Compressor dir | +- ms/ - Microsoft Ajax Minifier dir | +- js/ - JavaScript output dir (minified) | +- js_src/ - JavaScript source code dir | +- foo.js - example source code
Configuration
var Min = require("./min").Min;(new Min({ library: { name: "foo", // String: library name. version: "0.1", // String: library version. license: "MIT", // String: library license. "MIT", "Apache-2.0", ...