rollup-plugin-filesize
Advanced tools
Comparing version 1.4.2 to 1.5.0
@@ -15,3 +15,3 @@ 'use strict'; | ||
return boxen("" + (bundle.dest ? colors[primaryColor].bold("Destination: ") + colors[secondaryColor](bundle.dest) + "\n" : "") + colors[primaryColor].bold("Bundle size: ") + colors[secondaryColor](size) + (opt.showGzippedSize ? ", " + colors[primaryColor].bold("Gzipped size: ") + colors[secondaryColor](gzip$$1) : ""), { padding: 1 }); | ||
return boxen("" + (bundle.file ? colors[primaryColor].bold("Destination: ") + colors[secondaryColor](bundle.file) + "\n" : "") + colors[primaryColor].bold("Bundle size: ") + colors[secondaryColor](size) + (opt.showGzippedSize ? ", " + colors[primaryColor].bold("Gzipped size: ") + colors[secondaryColor](gzip$$1) : ""), { padding: 1 }); | ||
} | ||
@@ -18,0 +18,0 @@ |
{ | ||
"name": "rollup-plugin-filesize", | ||
"version": "1.4.2", | ||
"version": "1.5.0", | ||
"description": "A rollup plugin to show filesize in the cli", | ||
@@ -43,3 +43,3 @@ "main": "dist/index.js", | ||
"babel-register": "^6.7.2", | ||
"rollup": "^0.43.0", | ||
"rollup": "^0.48.0", | ||
"rollup-plugin-babel": "^2.3.9" | ||
@@ -46,0 +46,0 @@ }, |
@@ -69,1 +69,2 @@ # rollup-plugin-filesize | ||
<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/8CBegPnJTnjtddvd2E18Su4F/ritz078/rollup-plugin-filesize'> <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/8CBegPnJTnjtddvd2E18Su4F/ritz078/rollup-plugin-filesize.svg' /></a> |
@@ -12,5 +12,5 @@ import fileSize from "filesize"; | ||
return boxen( | ||
`${bundle.dest | ||
`${bundle.file | ||
? colors[primaryColor].bold("Destination: ") + | ||
colors[secondaryColor](bundle.dest) + | ||
colors[secondaryColor](bundle.file) + | ||
"\n" | ||
@@ -17,0 +17,0 @@ : ""}${colors[primaryColor].bold("Bundle size: ")}${colors[ |
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
5316
70