Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Silom/task-jade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Task-Jade

Compiles and watches Jade-files.

npm install --save task-jade

If you have any idea on other tasks that you need in your project, just tell me and I will most likely create it for you :).

Configurations

Task will have the name 'jade:watch' and jade:build.

Build will build one time. Watch will build on change.

rootFile

The index file of you project.

output

Glop for the destination of the html.

watch

Glop for watcher.

Example:

require("task-jade")(gulp, {
  rootFile: './src/index.jade',
  output: dest,
  watch: './src/**/*.jade'
})

Advanced

Add this line to your gulp object:

gulp.isProduction = true

The html is rendered pretty as default, with the production flag it gets minified.

About

Gulp task for jade, ready to use.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors