@jsenv/cli
Version:
Command Line Interface for jsenv
15 lines (12 loc) • 319 B
JavaScript
/*
* Optimize source files and write them into "./dist/"
* Read more in https://github.com/jsenv/core
*/
import { build } from "@jsenv/core";
await build({
sourceDirectoryUrl: import.meta.resolve("../src/"),
buildDirectoryUrl: import.meta.resolve("../dist/"),
entryPoints: {
"./index.html": {},
},
});