@peterek/html-config-webpack-plugin
v1.0.2
Published
Webpack configuration plugin for HTML compilation
Downloads
9
Readme
html-config-webpack-plugin
Webpack configuration plugin for html compilation
- Template files specified by
.tpl.html
can be imported into script modules as string - Any other html files will be compiled into output directory. Attribute values (src, href) are not processed.
Installation
npm i -D @peterek/html-config-webpack-plugin
Application
const HtmlConfigWebpackPlugin = require('@peterek/html-config-webpack-plugin')
module.exports = {
plugins: [
new HtmlConfigWebpackPlugin()
]
}