UNPKG

@aomi/webapp-cli

Version:

a web app cli

13 lines (10 loc) 233 B
import getWebpackConfig from "./getWebpackConfig"; import * as webpack from "webpack"; /** * 编译文件 * @param type */ export function getCompiler(type) { const config = getWebpackConfig(type); return webpack(config); }