WebDevStudios / generator-plugin-wp

Yeoman WordPress Plugin Generator
GNU General Public License v3.0
293 stars 64 forks source link

Make css / js optional #171

Open raptor235 opened 7 years ago

raptor235 commented 7 years ago

Hey guys,

Great work on the generator, it would be great to have a prompt if you need JS / CSS in your plugin or if you use grunt or gulp. It would reduce how much code needs to be generated... for plugins that don't need js /css quite a bit of code can be removed.

Thoughts?

binarygary commented 7 years ago

@raptor235 I like the idea. I often find I'm not using js/css as well. Some of the reason those files hang around is due to the way the generator used to run npm install upon scaffolding completion.

Are you up for working on a PR of that nature?

Thanks, Gary

raptor235 commented 7 years ago

Not yet, don't have any experience with yo atm