Comparing version 1.1.7 to 1.1.8
@@ -1,8 +0,1 @@ | ||
/* | ||
* @name: z-utils | ||
* @version: 1.1.6 | ||
* @description: javascript uitls | ||
* @author: zbm2001@aliyun.com | ||
* @license: Apache 2.0 | ||
*/ | ||
'use strict'; | ||
@@ -9,0 +2,0 @@ |
{ | ||
"name": "z-utils", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"description": "javascript uitls", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -16,3 +16,3 @@ // 项目下直接运行命令 rollup -c | ||
buble({ | ||
exclude: 'node_modules/**' | ||
// exclude: 'node_modules/**' | ||
}) | ||
@@ -19,0 +19,0 @@ ], |
@@ -20,4 +20,5 @@ // 项目下直接命令$ node rollup.js | ||
const noBannerFormats = {'cjs': !0, 'es': !0} | ||
targets.forEach(function (target) { | ||
target.banner = this.banner | ||
target.banner = noBannerFormats[target.format] ? '' : this.banner | ||
target.moduleName = this.moduleName | ||
@@ -52,3 +53,3 @@ target.sourceMap = this.sourceMap | ||
minMain === target.dest && (minMain += '.min') | ||
fs.writeFileSync(minMain, target.banner + '\n' + minify(result.code)) | ||
fs.writeFileSync(minMain, target.banner + minify(result.code)) | ||
} | ||
@@ -55,0 +56,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17394
431