Skip to content

toastynerd/hbsify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hbsify

Travis CI Badge

A simple Handlebars transform for Browserify. To install run:

npm install hbsify

Much of this code is a simplified version of hbsfy. It doesn't support multiple versions of Handlebars unless you want to manually remove the supplied version and add your own. Use the above hbsfy if you need that functionality. It also doesn't support handlebars files that don't end in 'hbs' or 'handlebars'. Once again, the hbsfy package has you covered if you need that functionality.

To use hbsify either use the command:

browserify -t hbsify <input files> > <outputfile>

or specify it in a Gruntfile with grunt-browserify:

browserify: {
  options: {
    transform: ['hbsify']
  },
  src: ['all-my-files.js']
  dest: 'the-file-i-am-building.js' 
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published