rollup-plugin-progress
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -20,2 +20,3 @@ import fs from 'fs'; | ||
var total = 0; | ||
var totalFilePath = path.resolve(__dirname, "./total.txt"); | ||
try { | ||
@@ -62,2 +63,3 @@ total = fs.readFileSync(totalFilePath); | ||
ongenerate: function ongenerate() { | ||
fs.writeFileSync(totalFilePath, progress.loaded); | ||
if (options.clearLine && process.stdin.isTTY) { | ||
@@ -64,0 +66,0 @@ process.stdout.clearLine(); |
@@ -24,2 +24,3 @@ 'use strict'; | ||
var total = 0; | ||
var totalFilePath = path.resolve(__dirname, "./total.txt"); | ||
try { | ||
@@ -66,2 +67,3 @@ total = fs.readFileSync(totalFilePath); | ||
ongenerate: function ongenerate() { | ||
fs.writeFileSync(totalFilePath, progress.loaded); | ||
if (options.clearLine && process.stdin.isTTY) { | ||
@@ -68,0 +70,0 @@ process.stdout.clearLine(); |
{ | ||
"name": "rollup-plugin-progress", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Rollup Progress Plugin", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup-plugin-progress.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
6524
130