Simple GULP config file to automate your workflow when creating WordPress themes and plugins. It will handle changes in php, css, js and can also optimize your images.
version: 4.0.0
- updated all plugins to newest versions
- added
eslint
andstylelint
with separate .md (instructions for vs-code) - changed from
gulp-sass
togulp-dart-sass
ad added base scss structure directories/files (now using@use
and@forward
) - moved to
webpack_v5
- added base js structure directories/files (added base modules)
- added WP Theme structure directories/files (
functions.php
,styles.css
,index.php
, etc.)
version: 3.0.1
- updated all plugins to newest versions
- added shorthand replacement for
querySelector
,querySelectorAll
andaddEventListener
inscripts.js
file
version: 3.0.0
- updated all plugins to newest versions
- moved
js
processing fromgulp
towebpack
- moved to
gulp-postcss
to handlecss
files - moved gulp configuration from
gulpfile-config.js
togulpfile.js
- restored
gulp-sourcemaps
package for creation ofsourcemaps
file forcss
- updated
README.md
file
version: 2.0.2
- updated all plugins to newest versions
- replaced
gulp-uglify-es
withgulp-terser
- added
gulp-deporder
for managing concatination order - added
gulp-strip-comments
to remove comments after concatination of vendor and customjs
files - added "cssVendor" and "jsVendor" objects in
gulpfile-config.js
for adding vendorjs
andcss
files to bundle them with customjs
andcss
files - in
gulpfile.js
updatedjs
andcss
functions for bundling vendor files with custom files - removed
gulp-sourcemaps
package and creation of sourcemaps files fromcss
andjs
functions
version: 2.0.1
- updated all plugins to newest versions
version: 2.0.0
- switched to
gulp
v4 - switched to
@babel/core
v7.2 - updated all plugins to newest versions
version: 1.0.0
- initial release
php
,css
,js
files watch- optimize images