@rollup-extras/plugin-size 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +6 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -205,6 +205,12 @@ export default function (options) {
205
205
 
206
206
  const instance = multiConfigPluginBase(false, pluginName, reportAndSave, onEachOutput);
207
207
 
208
+ instance.buildStart = () => {
209
+ currentStats.entries = undefined;
210
+ currentStats.chunks = undefined;
211
+ currentStats.assets = undefined;
212
+ };
213
+
208
214
  return instance;
209
215
 
210
216
  async function onEachOutput(outputOptions, bundle) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "0.2.1",
3
3
  "license": "MIT",
4
4
  "name": "@rollup-extras/plugin-size",
5
5
  "author": "Konstantin Shutkin",