Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

html-webpack-inject

dajuzipi19MIT0.0.1

Simplifies creation of HTML files to serve your webpack bundles, add object options

webpack, plugin, html, html-webpack-inject

readme

webpack.config.js

plugins: [
  webpackConfig.plugins.push(
    new HtmlWebpackPlugin({
      inject: {
        head: ['head'],
        body: chunks
      },
    }),
  );
]