1.0.1 • Published 6 years ago

html-insert-webpack-plugin v1.0.1

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

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.