sv
Version:
A command line interface (CLI) for creating and maintaining Svelte applications
14 lines (13 loc) • 528 B
JavaScript
import { c as defineAddonOptions, m as create$1, o as officialAddons, s as defineAddon, t as add, y as svDeprecated } from "../engine-DSL32Woe.mjs";
//#region src/index.ts
function create(cwdOrOptions, legacyOptions) {
if (typeof cwdOrOptions === "string") {
svDeprecated("use `create({ cwd, ...options })` instead of `create(cwd, options)`");
create$1({
cwd: cwdOrOptions,
...legacyOptions
});
} else create$1(cwdOrOptions);
}
//#endregion
export { add, create, defineAddon, defineAddonOptions, officialAddons };