generator-plugin-wp icon indicating copy to clipboard operation
generator-plugin-wp copied to clipboard

Make css / js optional

Open raptor235 opened this issue 8 years ago • 2 comments

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?

raptor235 avatar Aug 10 '17 12:08 raptor235

@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

binarygary avatar Aug 10 '17 12:08 binarygary

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

raptor235 avatar Aug 11 '17 12:08 raptor235