webpack-bundle-size-analyzer icon indicating copy to clipboard operation
webpack-bundle-size-analyzer copied to clipboard

Add option to present size as bytes.

Open denarced opened this issue 7 years ago • 2 comments

I added the option --bytes to show size as bytes. Enables further scripting with the numbers.

denarced avatar Mar 10 '19 13:03 denarced

Tests failed on Travis but they're fine on my computer; couldn't resist the phrase :). It appears that the failure is because of Node v11.11.0. Downgrading to v11.10.1 fixes it. The issue is discussed here.

denarced avatar Mar 10 '19 13:03 denarced

I'll see about Node and Jest versions. The part about options object or enum I might take a look during the next weekend. TypeScript isn't familiar to me so my solution probably won't be the best but I'll try to get around to give it a shot.

denarced avatar Mar 11 '19 17:03 denarced