smarty-loader

0.0.1 • Public • Published

Smarty loader for webpack

Install

$ npm i smarty-loader

Usage

module: {
    loaders: [ {
        test: /\.tpl$|.smarty$/,
        loader: 'smarty'
    } ]
}
var template = require('./template.tpl');
var html = template.fetch({ foo: 'bar' });

License

WTFPL

Package Sidebar

Install

npm i smarty-loader

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • zhiyan.wang