wp-parsely icon indicating copy to clipboard operation
wp-parsely copied to clipboard

Remove unneeded files from our release zip file

Open acicovic opened this issue 1 year ago • 2 comments

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 avatar Nov 12 '24 11:11 acicovic

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?

vaurdan avatar Nov 12 '24 13:11 vaurdan

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

acicovic avatar Nov 12 '24 14:11 acicovic