# webpack-fullhtml-plugin

> webpack plugin to generate html

Latest version **1.0.0** (published 2018-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-fullhtml-plugin
pnpm add webpack-fullhtml-plugin
yarn add webpack-fullhtml-plugin
bun add webpack-fullhtml-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-01-19 |
| First published | 2018-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | hajji Tarik |
| Maintainers | nouf |
| Keywords | webpack, plugin |

## Links

- npm: https://www.npmjs.com/package/webpack-fullhtml-plugin
- npm.io page: https://npm.io/package/webpack-fullhtml-plugin

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-01-19
- 0.1.20 — 2018-01-06
- 0.1.2 — 2018-01-06
- 0.1.1 — 2018-01-06
- 0.1.0 — 2018-01-06
- 0.0.3 — 2018-01-06
- 0.0.21 — 2018-01-06
- 0.0.2 — 2018-01-06
- 0.0.10 — 2018-01-03
- 0.0.1 — 2018-01-03

## README

# webpack-fullhtml-plugin

 - Tiny plugin,
 - Simple usage
 - Full custom options
 
 
###Usage :
    
```js
import FullHTMLPlugin from 'webpack-fullhtml-plugin';

new FullHTMLPlugin({
  title: `example page`,
  css: ['./reset.css', './style.css'],
  classNames: 'class-1 class-2',
  htmlNodeId: 'exemple-id',
  js:  ['./commons.js', './bundle.js'],
  filename: `./path/index.html`
}); 
```
    
###Output :

```html
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>example page</title>
        <link rel="stylesheet" type="text/css" href="./reset.css"/>
        <link rel="stylesheet" type="text/css" href="./style.css"/>
    </head>
    <body>
        <div class="example-scene"></div>
        <script type="text/javascript" src="./commons.js"></script>
        <script type="text/javascript" src="./bundle.js"></script>
    </body>
</html>
```

### Multiple Html output

to have more output you just need to duplicate the instantiation of the plugin
```js
new FullHTMLPlugin(...options); 
new FullHTMLPlugin(...options); 
new FullHTMLPlugin(...options); 
```

### Licence
MIT

### Author
Hajji Tarik

---
_Source: https://npm.io/package/webpack-fullhtml-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
