/plugin-jst

JST loader plugin

Primary LanguageJavaScriptMIT LicenseMIT

jst

npm version Build Status

SystemJS's underscore template jst loading plugin.

How to use

import './sample.jst!'

It requires to have underscore installed as a peer dependency, although you can also use it for lodash as long you alias it to underscore in your configuration, i.e.:

System.config({
	map: {
		underscore: 'lodash'
	}
})

Testing

$ npm install
$ npm test

License

MIT