Gulp tasks
Useful tasks with an easy setup, which keeps your gulpfile clean!
sassc (with libsass)
Compile and watch sass files
External Dependencies
- LibSass
Quick install
LibSass (with homebrew for OSX)
brew install libsass
Usage
const sassc = ; ;
This will automatically creates the following tasks ready to be executed:
- dj-sassc(-*)
- dj-sassc-watch(-*)
- dj-sassc-compile(-*)
(-*): Optional postfix
closure deps (with gulp-closure-deps)
Usage
const closure = ; closure;
This will automatically creates the following tasks ready to be executed:
- dj-closure-deps(-*)
- dj-closure-deps-watch(-*)
(-*): Optional postfix
closure compile (with google-closure-compiler)
Usage
closure;
Default config
'generate_exports': '1' 'only_closure_dependencies': '1' 'compilation_level': 'ADVANCED' 'warning_level': 'VERBOSE' 'output_wrapper': '(function(){\n%output%\n})()'