html-webpack-extra-inject-plugin
v1.0.1
Published
Webpack plugin to inject additional source into templates generated by html-webpack-plugin
Downloads
1
Maintainers
Readme
html-webpack-extra-inject-plugin
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>'
}),
],
};