Skip to content

Commit 4ea7693

Browse files
authored
fix - verbose bundle size output is no longer [object Object] (#97)
* fix - verbose bundle size output is no longer [object Object] * fix - verbose bundle size output is no longer [object Object] * Revert "fix - verbose bundle size output is no longer [object Object]" This reverts commit 3ccc389. * chore - optional chaining removed Co-authored-by: Omer Gurarslan <omer@asquared.uk>
1 parent 668b672 commit 4ea7693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react-native-bundle-visualizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ bundlePromise
169169
result.bundles.forEach((bundle) => {
170170
Object.keys(bundle.files).forEach((file) => {
171171
console.log(
172-
chalk.green(file + ', size: ' + bundle.files[file] + ' bytes')
172+
chalk.green(file + ', size: ' + bundle.files[file].size + ' bytes')
173173
);
174174
});
175175
});

0 commit comments

Comments
 (0)