1.0.3 • Published 6 years ago

@intervolga/html-webpack-asset-template-plugin v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

html-webpack-asset-template-plugin Build Status

Replace html-webpack-plugin template with new one from emitted assets. Replacement accuires only if asset name equals filename in HtmlWebpackPlugin instance.

Installation:

Using npm:

$ npm install --save-dev @intervolga/html-webpack-asset-template-plugin

Configuration:

const HtmlWebpackAssetTemplatePlugin = require('@intervolga/html-webpack-asset-template-plugin');
module.exports = {
	plugins: [
    new HtmlWebpackPlugin({
        filename: 'some-emitted-file.html',
    }),
    new HtmlWebpackAssetTemplatePlugin()
	]
}