# Compile5

### What is it?

Compile 5 is a webpack alternative for HTML!
It will inline stylesheets and scripts! (Image support soon)

<hr>

# Example Usage
### Compile5 supports ESM and Common JS
<hr>

```js
import Compile from 'compile5';
const Compile = require("compile5");

var compiler = Compile({
	entry: {
		path: "./static/",
		file: "index.html"
	},
	output: "./public/output.html"
})

// ^ These Current Compile Options.

compiler.watch((err:any, stats:any)=>{
	console.log("Copmiled");
});

// ^ Like webpack, it supports live updates
```