rollup-plugin-filesize
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -77,4 +77,6 @@ 'use strict'; | ||
return bundle[fileName]; | ||
}).forEach(function (bundle) { | ||
return console.log(getData(outputOptions, bundle.code)); | ||
}).filter(function (currentBundle) { | ||
return !currentBundle.isAsset; | ||
}).forEach(function (currentBundle) { | ||
console.log(getData(outputOptions, currentBundle.code)); | ||
}); | ||
@@ -81,0 +83,0 @@ } |
{ | ||
"name": "rollup-plugin-filesize", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "A rollup plugin to show filesize in the cli", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -72,5 +72,8 @@ import fileSize from "filesize"; | ||
.map(fileName => bundle[fileName]) | ||
.forEach(bundle => console.log(getData(outputOptions, bundle.code))); | ||
.filter(currentBundle => !currentBundle.isAsset) | ||
.forEach((currentBundle) => { | ||
console.log(getData(outputOptions, currentBundle.code)) | ||
}); | ||
} | ||
}; | ||
} |
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
7606
135