Skip to content

ManiShah7/gulpstarterforwordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Gulp File for WordPress

This is a simple Gulp file for automating some tasks while developing custom WordPress themes. It will run live server, complie SASS files to minified CSS, compress images, and complies ES6 JavaScript to ES5 through WebPack Stream (a Gulp plugin).

Commands:

npm run start -> Watches and compiles your files. Use it in dev.
npm run build -> Same as start but won't run live server.
npm run bundle -> Bundles and compresses your theme. Creates a folder called packaged and puts the compressed folder of your theme inside it. You can then install it on a WordPress site.

Simply put the files inside your child theme, run npm install and start coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published