1.0.0 • Published 8 years ago

js2html-webpack-plugin v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

js2html-webpack-plugin

Used for compile the js into html.

Install

npm i js2html-webpack-plugin --save-dev

Example

 baseConfig.plugins = [
        new JS2HtmlPlugin({
            template: path.resolve('./examples/simple/index.html')
        })
    ];

API

template

html的路径