1.0.0 • Published 10 years ago
@gigwalk/webpack-html-template v1.0.0
webpack-html-template 
Stupid simple module to handle templating data for
html-webpack-plugin
.
Install
$ npm install --save webpack-html-template
Usage
var webpackHtmlTemplate = require('webpack-html-template');
webpackHtmlTemplate('./my-template', {data}, cb);
//=> <html>....
API
webpackHtmlTemplate(template, data ,cb)
template
Required
Type: string
Template file path to read from
data
Data to use with preprocess. Or you can use environment variables.
License
MIT © Gigwalk
1.0.0
10 years ago