@intervolga/html-webpack-asset-template-plugin

1.0.3 • Public • Published

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()
	]
}

Dependencies (0)

    Dev Dependencies (22)

    Package Sidebar

    Install

    npm i @intervolga/html-webpack-asset-template-plugin

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.48 kB

    Total Files

    4

    Last publish

    Collaborators

    • intervolga