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
/
bin
/
stats
/
getEntryChunks.js
12 lines
(10 loc)
•
227 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= getEntryChunks;
function
getEntryChunks
(
stats
) {
return
stats.
chunks
;
// .filter(
// chunk => chunk.names.length
// );
}