You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add dependency optimization warnings for heavy dependencies
- Add DependencyAnalyzer helper to detect AWS SDK and Google SDK
- Show warnings during deployment for unoptimized dependencies
- Check if optimization scripts are already configured
- Provide links to official optimization guides
- Minimal performance impact during deployment
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
$warnings[] = 'AWS SDK detected - this can significantly increase deployment size';
39
+
$suggestions[] = 'Consider optimizing AWS SDK by including only required services: https://github.com/aws/aws-sdk-php/tree/master/src/Script/Composer';
40
+
}
41
+
}
42
+
43
+
// Check for Google SDK
44
+
if (is_array($require) && (isset($require['google/apiclient']) || isset($require['google/cloud']))) {
0 commit comments