s3-plugin-webpack
s3-plugin-webpack copied to clipboard
Progress bar not working correctly
Issue Details
MacOS Catalina 10.15.6 Node v14.4.0 Plugin v1.0.3
Progress bar not only not showing the right upload status its also printing a lot of empty new lines.
(That 100% is reached right after I run the command and it's obviously impossible because I have a lot of assets)
Any clue why it's happening?
This is the package that's used for progress bar, so answer might lie there: https://www.npmjs.com/package/progress
EDIT: I had to turn it off. The amount of newlines seems to be related to the number of files uploaded.
Also, seems that it perhaps hasn't worked in a loooong time :) https://github.com/MikaAK/s3-plugin-webpack/issues/80#issue-243943266
Yeah it's been bugged for a long time, not sure how to fix it though since by code it still looks right 🤔 If you have any ideas it's only 20LOC https://github.com/MikaAK/s3-plugin-webpack/blob/master/src/s3_plugin.js#L224-L243