html-webpack-extra-inject-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

html-webpack-extra-inject-plugin

npm version Build Status Dependencies License


Webpack plugin to inject additional source into templates generated by html-webpack-plugin.

Installation

npm install html-webpack-extra-inject-plugin --save-dev

Usage

webpack.config.js

const HtmlWebpackExtraInjectPlugin = require('html-webpack-extra-inject-plugin');
 
module.exports = {
  plugins: [
    new HtmlWebpackExtraInjectPlugin({
      inject: '<p>this will be injected into compiled template</p>'
    }),
  ],
};

Package Sidebar

Install

npm i html-webpack-extra-inject-plugin

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

8.15 kB

Total Files

12

Last publish

Collaborators

  • rafalmaciejewski