Compile 5 is a webpack alternative for HTML! It will inline stylesheets and scripts! (Image support soon)
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