fis.match("*.js", {
optimizer: fis.plugin("uglify-js")
});
类似 jquery 这样的版权会被删掉。
/*!
* jQuery JavaScript Library v1.12.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT @license
* http://jquery.org/license
*
* Date: 2016-05-20T17:17Z
*/
一般的做法都是先压缩删除 再在头部添加注释