html-browserify

0.0.6 • Public • Published

html-browserify

Build Status

Simple HTML transform for Browserify

Install

npm install html-browserify

Usuage 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'));
});

Package Sidebar

Install

npm i html-browserify

Weekly Downloads

116

Version

0.0.6

License

none

Last publish

Collaborators

  • duckbox