rollup-plugin-filesize
Advanced tools
Comparing version 0.5.5 to 1.0.0
@@ -13,4 +13,4 @@ 'use strict'; | ||
function render(opt, size, gzip) { | ||
return opt.theme == 'dark' ? boxen(chalk.green.bold('Bundle size: ') + chalk.yellow.bold(size) + ', ' + chalk.green.bold('Gzipped size: ') + chalk.yellow.bold(gzip), { padding: 1 }) : boxen(chalk.black.bold('Bundle size: ') + chalk.blue.bold(size) + ', ' + chalk.black.bold('Gzipped size: ') + chalk.blue.bold(gzip), { padding: 1 }); | ||
function render(opt, size, gzip$$1) { | ||
return opt.theme == 'dark' ? boxen(chalk.green.bold('Bundle size: ') + chalk.yellow.bold(size) + ', ' + chalk.green.bold('Gzipped size: ') + chalk.yellow.bold(gzip$$1), { padding: 1 }) : boxen(chalk.black.bold('Bundle size: ') + chalk.blue.bold(size) + ', ' + chalk.black.bold('Gzipped size: ') + chalk.blue.bold(gzip$$1), { padding: 1 }); | ||
} | ||
@@ -21,2 +21,3 @@ | ||
var defaultOptions = { | ||
@@ -45,4 +46,4 @@ format: {}, | ||
}; | ||
}; | ||
} | ||
module.exports = filesize; | ||
module.exports = filesize; |
{ | ||
"name": "rollup-plugin-filesize", | ||
"version": "0.5.5", | ||
"version": "1.0.0", | ||
"description": "A rollup plugin to show filesize in the cli", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4577
72
0