Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automating WordPress Plugin Development with Gulp

Automating WordPress Plugin Development with Gulp

Gulp.js is a task runner to automate the build process. In this talk, you’ll learn how to use Gulp to automate plugin development by compiling SASS, minifying JavaScript files, and creating translation files to build a starter WordPress plugin. WordCamp St. Louis 2016 #wcstl

Mike Hale

May 15, 2016
Tweet

More Decks by Mike Hale

Other Decks in Programming

Transcript

  1. What is Gulp? Gulp is a Javascript task runner that

    lets you automate common or repetitive tasks
  2. “Gulp vs Grunt doesn’t matter as long as whichever Tool

    you choose makes you more productive" @MikeHale
  3. WordPress-Plugin-Boilerplate http://wppb.io + File Structure + Standards Based - No

    Auto Translations - Manually rename files - No js/css Automation
  4. Other Options gulp-watch gulp-exec (WP-CLI, PHPCS*) gulp-imagemin (Optimize Images )

    gulp-livereload (Live Reload) gulp-zip (Compress Plugin)