UNPKG

html-webpack-include-sibling-chunks-plugin

Version:

This plugin is useful when bundling a Multiple-Page Application with webpack 4. It let `html-webpack-plugin` to include initial split chunks and runtime chunk that related to the entry js file of a html page, which are generated by `optimization.splitChun

10 lines (8 loc) 170 B
import template from './index.html' import './style.css' export default class { mount(container) { document.title = 'baz' container.innerHTML = template } }