Skip to content

Remove unneeded files from our release zip file #2936

Description

@acicovic

Is your feature request related to a problem?

Our release zip file seems to contain some files that aren't useful. For example, I think that Jest and TypeScript files (among others) are unneeded when distributing to WordPress.org.

Describe the solution you'd like

Identify the unneeded files that get bundled in our release .zip file, and take care not to include them there.

Activity

  1. added this to the Future Milestone milestone on Nov 12, 2024
  2. vaurdan commented on Nov 12, 2024

    @vaurdan
    Contributor

    Agreed! I think we can safely remove the tests directory, and all the ts, tsx, and scss files from the built version, since essentially those are bundled in the build/ directory.

    Although, I'm not sure if it's against WordPress.org Plugin Directory TOS to not include the source files in the plugin, but we can investigate that.

    Thoughts?

  3. acicovic commented on Nov 12, 2024

    @acicovic
    CollaboratorAuthor

    Yeah, if we risk a TOS violation, we definitely should not do it. I can try to ask around about this.

  4. added theissue type on May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wp-parselyRequired label for all issues

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions