The first version of this boilerplate is now out!
webpack and npm scripts will help you develop your WordPress theme:
- compile and minify SCSS files with 3 entry points: style.scss (main styles), print.scss and editor.scss,
- transpile and minify JS files with 3 entry points: footer.js, header.js and editor.js,
- optimize your images and copy them in assets (the architecture will be respected),
- copy your fonts from sources to assets ((the architecture will be respected),
- generate RTL version fo your CSS files,
- generate a
.pot
file for translation, - take a screenshot of your homepage,
- lint/fix your code,
- generate a release of your theme,
- and finally create an archive of your theme without development files.