UNPKG
bonsai-analyzer
Version:
latest (0.4.0-alpha4)
0.4.0-alpha4
0.4.0-alpha3
0.4.0-alpha2
0.3.0
0.2.0
0.2.0-alpha.1
0.1.0
Trim your dependency tree.
github.com/pinterest/bonsai
pinterest/bonsai
bonsai-analyzer
/
src
/
stats
/
getEntryChunks.js
13 lines
(10 loc)
•
204 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/* * @flow */
import
type {
RawStats
}
from
'../types/Stats'
;
export
default
function
getEntryChunks
(
stats: RawStats
) {
return
stats.
chunks
;
// .filter(
// chunk => chunk.names.length
// );
}