Plugin Package Size Increasing Unexpectedly - From 20MB to 50MB After Code Modifications #18

Closed
opened 2026-02-22 17:15:49 -05:00 by yindo · 0 comments
Owner

Originally created by @jaguarliuu on GitHub (Mar 26, 2025).

Description:
I'm experiencing a critical issue with the Dify plugin packaging process. The size of my plugin package has grown from an initial 20MB to 50MB after making only code changes (no added assets/resources). This rapid growth now causes installation failures.

Key Observations:

  • No new dependencies were explicitly added in requirements.txt
  • No large files (images/videos/binaries) were introduced manually
  • Build artifacts (.dist/, pycache/) are excluded via .gitignore

Dify CLI Version: 0.0.5
Python Version:3.13.0

Originally created by @jaguarliuu on GitHub (Mar 26, 2025). **Description:** I'm experiencing a critical issue with the Dify plugin packaging process. The size of my plugin package has grown from an initial 20MB to 50MB after making only code changes (no added assets/resources). This rapid growth now causes installation failures. **Key Observations:** - No new dependencies were explicitly added in requirements.txt - No large files (images/videos/binaries) were introduced manually - Build artifacts (.dist/, __pycache__/) are excluded via .gitignore Dify CLI Version: 0.0.5 Python Version:3.13.0
yindo closed this issue 2026-02-22 17:15:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#18