plugin-jst

Underscore JST loader plugin

Usage no npm install needed!

<script type="module">
  import pluginJst from 'https://cdn.skypack.dev/plugin-jst';
</script>

README

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