compile5
v1.0.1
Published
Webpack for HTML5
Downloads
7
Readme
Compile5
What is it?
Compile 5 is a webpack alternative for HTML! It will inline stylesheets and scripts! (Image support soon)
Example Usage
Compile5 supports ESM and Common 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