mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
Update lib/client-bundle-plugin.js
This commit is contained in:
@@ -37,7 +37,8 @@ export function getDependencies(clientOutput, item) {
|
||||
// Don't add self as dependency
|
||||
crawlDependencies.delete(item.fileName);
|
||||
|
||||
// Merge referencedFiles as regular deps.
|
||||
// Merge referencedFiles as regular deps. They need to be in the same Set as
|
||||
// some JS files might appear in both lists and need to be deduped too.
|
||||
//
|
||||
// Didn't do this as part of the main loop since their `chunk` can't have
|
||||
// nested deps and sometimes might be missing altogether, depending on type.
|
||||
|
||||
Reference in New Issue
Block a user