I started a repo with the WordPress Plugin Boilerplate and WebPack. It’s pretty bare bones right now, but it does some of what I set out to do:
- compiles JS into
- zips the plugin and places the zip file in the
I’ll be visiting the repo again to add more stuff.
WordPress Plugin Boilerplate:
Go forth and download from https://wppb.me/
cd into your plugin’s directory. You can either
npm init to get a package.json, or grab the example
package.json and change the necessary header info to your own info and then
- make sure JS is being compiled in the best way.
- add CSS stuff (autoprefix, minify, etc)
- other stuff I have forgotten ¯\_(ツ)_/¯