import Plugin, { LogType } from "./index.ts";
import { EntrypointType, type Config, type Entrypoint } from "./types.ts";

const config: Config = {
	production: false,
	outdir: "dist",
	root: "testfiles",
};

const entrypoints: Entrypoint[] = [
	{
		path: "./testfiles/style.css",
		type: EntrypointType.Css,
	},
	{
		path: "./testfiles/index.ts",
		type: EntrypointType.Js,
	},
	{
		path: "@mini-strap/core",
		type: EntrypointType.Package,
	},
];

await Plugin.build(config, entrypoints);
