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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

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