An open API service indexing awesome lists of open source software.

https://github.com/osdio/js2html-webpack-plugin


https://github.com/osdio/js2html-webpack-plugin

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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的路径