gulp-recipe-css
v0.1.7
Published
Recipe handling hooks for css processing in development
Downloads
4
Maintainers
Readme
gulp-recipe-css
Css transforming hook provider.
Provides hook for css processing and watcher firing only on changed files in development environment. Includes source maps as data urls into compiled files. Works well with recipes like gulp-recipe-autoprefixer.
Tasks
css
Runs all hooked actions on all css files and saves them to configured temp directory.
watch:css
Starts Watching all css files and runs hooked actions only on changed files.
Configuration
Sources
sources.css
mandatory
Raw css files to be compiled by all css transformers.
Paths
paths.tmp
default: 'tmp/'
Compiled css output directory.
Tasks
tasks.css
default: 'css'
css task name.
tasks.watchCss
default: 'watch:css'
watch:css task name.
Api
Provided Hooks
pipes.devProcessCss*
type: sequential
Sequential tasks for css processing.
Used Hooks
watch
Exports watch:css task to watch combiner.