1.0.1 • Published 1 year ago

compile5 v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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