Skip to content

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

@jaguarliuu

Description

@jaguarliuu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions