UNPKG

@funny-ui/cli

Version:
12 lines (11 loc) 368 B
import fse from "fs-extra"; import { ES_DIR, COMPONENTS_DIR } from "../shared/constant"; const { copy, readdir } = fse; export async function compileModule() { const dest = ES_DIR; await copy(COMPONENTS_DIR, dest); const moduleDir = await readdir(dest); console.log("moduleDir", moduleDir); } export async function compileBundle() { } compileModule();