rollup-plugin-filesize
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -35,3 +35,9 @@ 'use strict'; | ||
console.log(opts.render(opts, size)); | ||
return opts.render(opts, size); | ||
return { | ||
log: opts.render(opts, size), | ||
code: code, | ||
map: { | ||
mappings: '' | ||
} | ||
}; | ||
} | ||
@@ -38,0 +44,0 @@ }; |
{ | ||
"name": "rollup-plugin-filesize", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A rollup plugin to show filesize in the cli", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -34,5 +34,11 @@ import fileSize from 'filesize'; | ||
console.log(opts.render(opts, size)); | ||
return opts.render(opts, size); | ||
return { | ||
log: opts.render(opts, size), | ||
code: code, | ||
map: { | ||
mappings: '' | ||
} | ||
} | ||
} | ||
} | ||
}; |
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
4054
71