Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Gulp plugin for converting files using compact-dom notation to hyperscript notation

Notifications You must be signed in to change notification settings

AFASSoftware/gulp-compact-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-compact-dom

Gulp helpers for the compact-dom notation. See compact-dom for more information.

Receipes:

Transpile compact-dom to hyperscript:

var compactDom = require('gulp-compact-dom');

gulp.src("src/**/*.js")
  .pipe(compactDom.createToHyperscriptTranspiler({}))
  .pipe(gulp.dest("build/js"))

Transpile compact-dom to hyperscript for Mithril:

var compactDom = require('gulp-compact-dom');

gulp.src("src/**/*.js")
  .pipe(compactDom.createToHyperscriptTranspiler({prefix: "m"}))
  .pipe(gulp.dest("build/js"))

About

Gulp plugin for converting files using compact-dom notation to hyperscript notation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published