Skip to content

duckbox/html-browserify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html-browserify

Build Status

Simple HTML transform for Browserify

Install

npm install html-browserify

Usage with Gulp

//...
var html = require('html-browserify');
//...

gulp.task('js', function() {
  gulp.src('js/app.js')
    .pipe(browserify({
      insertGlobals: true,
      transform: html
    }))
    .pipe(concat('app.js'))
    .pipe(gulp.dest('./public/js'));
});

About

Simple HTML transform for Browserify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages