compile5
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i compile5

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

51.7 kB

Total Files

67

Last publish

Collaborators

  • lil-neutron