Closed jamieschmid closed 3 years ago
I'm looking into this as a solution that does the following:
Is that it?
Finally got some time to do this:
New configurable zip settings https://github.com/ahmadawais/WPGulp/blob/master/WPGulp/wpgulp.config.js#L79-L110
V3 Release notes: https://github.com/ahmadawais/WPGulp/releases/tag/3.0.0
Major refactor and also updated the demo WPGulpTheme
Please test it and enjoy the v3 release.
Hi @ahmadawais thank you for your work on this, but I'm not sure how to run a task to do it.
I don't see anywhere in the source code where zip related settings are actually referenced.
Is your feature request related to a problem? Please describe. After developing, you need to remove a lot of files, and zip the folder in order to upload to WP if you are doing a manual process. This means removing sass folder, any compiler files, node_modules, maybe a docs folder etc. A way to deploy a production build within a new directory would complete this tool I believe!
Describe the solution you'd like
There's some existing PR's for this you can review also-
Deploy script generates zip file PR: https://github.com/ahmadawais/WPGulp/pull/143
PR using gulp-if and gulp-clean to run a deploy https://github.com/ahmadawais/WPGulp/pull/135