1.0.4 • Published 4 years ago
webpack-skeleton-dom v1.0.4
webpack-skeleton-dom
webpack-skeleton-dom plugin insert dom by html-webpack-plugin hooks
Installation
The plugin is available via npm:
$ npm i webpack-skeleton-dom -D
Examples
var WebpackSkeletonDom = require('webpack-skeleton-dom');
module.exports = {
plugins: [
// Other plugins.
// WebpackClearConsole plugin removes all statements beginning with console.
new WebpackSkeletonDom(
{
skeletonHtml: '' // <div id="app"> ...skeleton </div>
}
)
]
}