We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6056775 commit 80d2e22Copy full SHA for 80d2e22
lib/Entrypoint.js
@@ -19,9 +19,9 @@ class Entrypoint extends ChunkGroup {
19
getFiles() {
20
const files = new Set();
21
22
- for(let chunkIdx = 0; chunkIdx < this.chunks.length; chunkIdx++) {
23
- for(let fileIdx = 0; fileIdx < this.chunks[chunkIdx].files.length; fileIdx++) {
24
- files.add(this.chunks[chunkIdx].files[fileIdx]);
+ for(const chunk of this.chunks) {
+ for(const file of chunk) {
+ files.add(file);
25
}
26
27
0 commit comments