Optimizing your workflow with Gulp
summary
Automates theme/plugin workflows using Gulp plus plugins: install deps with yarn install then run gulp to run watchers and tasks; compiles sass with gulp-sass, runs autoprefixer (configured for last 2 versions and >1% usage), generates sourcemaps, concatenates and uglifies JS, compresses images, generates a .pot file for translations and creates a zip package for distribution. Uses browser-sync proxy to inject CSS on save (live reload demo is flaky here) and the packaging task successfully builds a deployable zip.
AI-written summary · about
