html-insert-webpack-plugin

1.0.1 • Public • Published

Inject extension for the HTML Webpack Plugin

npm version Dependency Status Build status js-semistandard-style

This is an extension plugin for the webpack plugin html-webpack-plugin - a plugin that simplifies the creation of HTML files to serve your webpack bundles.

Installation

You must be running webpack on node 0.12.x or higher

Install the plugin with npm:

$ npm install --save-dev html-insert-webpack-plugin

Basic Usage

Require the plugin in your webpack config:

var HtmlInsertWebpackPlugin = require('html-insert-webpack-plugin');

Add the plugin to your webpack config as follows:

plugins: [
  new HtmlWebpackPlugin(),
  new HtmlInsertWebpackPlugin()
]  

The above configuration will actually do nothing due to the configuration defaults.

Package Sidebar

Install

npm i html-insert-webpack-plugin

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

4.81 kB

Total Files

5

Last publish

Collaborators

  • gssify