WPTT / theme-sniffer

Theme Sniffer plugin using sniffs.
MIT License
268 stars 3 forks source link

Distribution too large #76

Closed tradesouthwest closed 6 years ago

tradesouthwest commented 7 years ago

When I upload the distribution plugin zip, WP reports the file is too large to upload. I saw no other version or install instructions on how to rework the zip into a smaller zip.

`

dingo-d commented 7 years ago

What is your upload limit? The zip file is 7.4MB, this means that your limit is lower than this. You should change this in php.ini file.

tradesouthwest commented 7 years ago

The WP uploader returned the size error/message. ini is set plenty high. You can close this. I used version 0.1.2 and it loaded like a charm.

tradesouthwest commented 7 years ago

0.1.2 is only 939K. I was hoping I missed something in the 0.1.4 version and did not need to upload the whole thing (7.4MB is a far cry from 1MB)???

pattonwebz commented 6 years ago

Hey @tradesouthwest The latest release zip contains the entire node_modules directory. That folder is only needed in development and isn't needed to run the plugin in WP. If you delete that folder from inside the archive it will be around 1MB and a lot easier to upload :)

dingo-d commented 6 years ago

We will need to fix the release, but we have some updating to do first...

pattonwebz commented 6 years ago

Yup, more updates before new release makes sense :)

dingo-d commented 6 years ago

The new release is smaller, but still 4.8 MB due to vendors folder (node_modules were removed, but vendors are necessary for the plugin to work properly iirc). I'll close this for now, if you have any suggestions for improvement please open a new issue :)

tradesouthwest commented 6 years ago

Woo Hoo! you rock.... Good to know about dev. Maybe releasing a "non-dev" ver....? and a note about removing folder. Thanks for your help.

dingo-d commented 6 years ago

Not sure I understand exactly about non dev version? There is a "non dev" version in the zip file in the readme :D That is the compiled and ready to use plugin without the node_modules folder :) I'll do another release soon with even more improvements :)