0.5.0 • Published 7 years ago

@dr-kobros/html-document-webpack-plugin v0.5.0

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
7 years ago

HTML Document Webpack plugin

What?

Renders your app's index HTML file either with React HTML document or a custom component.

Why

I like to use React for this too instead of some static file.

How?

Install from NPM and add the plugin to your webpack config.

Seems to work with both Webpack 1 and 2.

new HtmlCreatorPlugin({
  title: 'Application', // title
  favicon: 'web/favicon.ico', // favicon
  css: [], // array of non-bundled CSS files to prepend
  content: <span>Loading...</span>, // content to render while loading (optional),
  // component: CustomHtmlComponent, // a custom component (optional)
})

Participate

Pull and feature requests, feel welcomed!

0.5.0

7 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago