Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded files from our release zip file #2936

Open
acicovic opened this issue Nov 12, 2024 · 2 comments
Open

Remove unneeded files from our release zip file #2936

acicovic opened this issue Nov 12, 2024 · 2 comments

Comments

@acicovic
Copy link
Collaborator

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.

@acicovic acicovic added this to the Future Milestone milestone Nov 12, 2024
@vaurdan
Copy link
Contributor

vaurdan commented Nov 12, 2024

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?

@acicovic
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants