Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parcel-transform-hogan

This Parcel 2 plugin supports transforming mustache templates into ES6 at build time.

Sample

import myTemplate from "./template.mustache"

const html = myTemplate.render({ name: "fred"});
<div>Hello {name}</div>

Configuration

Add the following to your .parcelrc

{
  "transformers": {
    "*.mustache": ["parcel-transformer-hogan"]
  }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages