A minimal gulp 4 build starter
Install is nice and simple. Open a brand new project, and just run:
npx dodgycoffee/varren
After install is complete, the following build commands will be available:
gulp test
verifies gulp is working. If this fails you'll need to runnpm install --global gulp-cli
gulp build
runs the production build step (minification, sourcemaps, image optimisation, etc)gulp optimise
runs the image optimiser only (good for right after adding a bunch of new source images)gulp watch
runs the watcher. This will monitor scss/js files for changes and auto-build development on save. Excludes the image optimisation step
To add or modify commands, simple edit your gulpfile.js file
- How do I do specifically so and so?
- It's impossible I quit.